|
44 | 44 | <when value="no" /> |
45 | 45 | <when value="yes"> |
46 | 46 | <expand macro="plotWidthHeight" PLOTWIDTH="10.0" PLOTHEIGHT="10.0" /> |
47 | | - <param name="PCs" argument="--PCs" label="Principal components to plot" value="1 2" type="text" |
| 47 | + <param argument="--PCs" label="Principal components to plot" value="1 2" type="text" |
48 | 48 | help="The principal components to plot. If specified, you must provide two different integers, greater than zero, separated by a space. An example (and the default) is '1 2'." /> |
49 | | - <param name="ntop" argument="--ntop" label="Number of rows to use" value="1000" type="integer" |
| 49 | + <param argument="--ntop" label="Number of rows to use" value="1000" type="integer" |
50 | 50 | help="Use only the top N most variable rows in the original matrix. Specifying 0 will result in all rows being used. If the matrix is to be transposed, rows with 0 variance are always excluded, even if a values of 0 is specified. The default is 1000." /> |
51 | | - <param name="log2" argument="--log2" type="boolean" truevalue="--log2" falsevalue="" label="log2 transform data" help="log2 transform the datapoints prior to computing the PCA. Note that 0.01 is added to all values to prevent 0 values from becoming -infinity. Using this option with input that contains negative values will result in an error." /> |
| 51 | + <param argument="--log2" type="boolean" truevalue="--log2" falsevalue="" label="log2 transform data" help="log2 transform the datapoints prior to computing the PCA. Note that 0.01 is added to all values to prevent 0 values from becoming -infinity. Using this option with input that contains negative values will result in an error." /> |
52 | 52 | <param argument="--transpose" type="boolean" label="Transpose Matrix?" help="Perform the PCA on the transpose of the matrix, (i.e., with samples as rows and features/genes as columns). This then matches what is typically done in R for RNAseq data." truevalue="--transpose" falsevalue="" /> |
53 | 53 | <param argument="--rowCenter" type="boolean" label="Center Rows?" help="When specified, each row (bin, gene, etc.) in the matrix is centered at 0 before the PCA is computed. This is useful only if you have a strong bin/gene/etc. correlation and the resulting principal component has samples stacked vertically. This option is not applicable if the PCA is performed on the transposed matrix." truevalue="--rowCenter" falsevalue="" /> |
54 | | - <param argument="--colors" type="text" name="colors" label="Symbol colors" value="" optional="True" |
| 54 | + <param argument="--colors" type="text" label="Symbol colors" value="" optional="True" |
55 | 55 | help="A list of colors for the symbols. Color names and html hex string (e.g., #eeff22) are accepted. The color names should be space separated. For example, --colors 'red blue green'. If not specified, the symbols will be given automatic colors." /> |
56 | | - <param argument="--markers" type="text" name="markers" label="Custom markers" value="" optional="True" |
| 56 | + <param argument="--markers" type="text" label="Custom markers" value="" optional="True" |
57 | 57 | help="A list of markers for the symbols. (e.g., '<','>','o') are accepted. The marker values should be space separated. For example, 's' 'o' 's' 'o'. If not specified, the symbols will be given automatic shapes." /> |
58 | 58 | </when> |
59 | 59 | </conditional> |
|
65 | 65 | </data> |
66 | 66 | </outputs> |
67 | 67 | <tests> |
68 | | - <test> |
| 68 | + <test expect_num_outputs="1"> |
69 | 69 | <param name="corData" value="multiBamSummary_result2b.npz" ftype="deeptools_coverage_matrix" /> |
70 | 70 | <param name="plotTitle" value="Test Plot" /> |
71 | 71 | <param name="outFileFormat" value="png" /> |
72 | 72 | <param name="showAdvancedOpt" value="yes" /> |
73 | 73 | <output name="outFileName" file="plotPCA_result1.png" ftype="png" compare="sim_size" delta="12000" /> |
74 | 74 | </test> |
75 | | - <test> |
| 75 | + <test expect_num_outputs="2"> |
76 | 76 | <param name="corData" value="multiBamSummary_result2b.npz" ftype="deeptools_coverage_matrix" /> |
77 | 77 | <param name="plotTitle" value="Test Plot" /> |
78 | 78 | <param name="outFileFormat" value="png" /> |
|
0 commit comments