diff Intchecks/xml_intensity_check.xml @ 1:4973a2104cfd draft

Uploaded
author melpetera
date Wed, 05 Dec 2018 10:27:45 -0500
parents c2c2e1be904a
children a7553caa2572
line wrap: on
line diff
--- a/Intchecks/xml_intensity_check.xml	Thu Oct 11 05:33:19 2018 -0400
+++ b/Intchecks/xml_intensity_check.xml	Wed Dec 05 10:27:45 2018 -0500
@@ -1,5 +1,5 @@
 <tool id="intens_check" name="Intensity Check" version="1.0.1">
-	<description>Adding informations about intensities in the Variable metadata</description>
+	<description>Adding informations about intensities (mean fold change and missing values) in the Variable metadata</description>
 	<requirements>
 	<requirement type="package" version="1.1_4">r-batch</requirement>
 	</requirements>
@@ -16,7 +16,10 @@
 		type "${type_cond.type}"
 		#if $type_cond.type == "One_class" :
 		class1 "${type_cond.class1}"
+		fold_frac "${type_cond.fold_frac}"
 		#end if
+		
+		logarithm "$logarithm"
 	
 		variableMetadata_out "$variableMetadata_out"
 		graphs_out "$graphs_out"
@@ -30,17 +33,27 @@
 		<param name="class_col" type="data_column" data_ref="sampleMetadata_in" use_header_names="true" label="Class column" help="Class column in Sample metadata" />
 	
 		<conditional name="type_cond">
-			<param name="type" type="select" label="Type" display="radio" help="Which class do you want to test ?">
+			<param name="type" type="select" label="What kind of tests do you want to perform?" display="radio" help="If you only have two classes, 'One class' could be selected to choose which class should be on the numerator/denominator.">
 				<option value="One_class">Tests between one class and the remaining samples </option>
-				<option value="Each_class">Tests for each class </option>
+				<option value="Each_class" selected="true">Tests for each class </option>
 			</param>
 			<when value="One_class">
-				<param name="class1" type="text" label="Selected class" help="This class is the numerator for the fold test" />
+				<param name="class1" type="text" label="Selected class" help="Class name if you choose to test one class against the remaining samples." />
+				<param name="fold_frac" type="select" label="Where should the class be placed for the mean fold change calculation?" display="radio">
+					<option value="Top">Numerator (Top) </option>
+					<option value="Bottom">Denominator (Bottom) </option>
+				</param>
 			</when>
 			<when value="Each_class">
 			</when>
 		</conditional>
 		
+		<param name="logarithm" type="select" label="Logarithm" help="Choose if you want the mean fold change to be converted into a log mean fold change (log2 or log10)">
+			<option value="none">none </option>
+			<option value="log2">log2 </option>
+			<option value="log10">log10 </option>
+		</param>
+		
 	</inputs>
 	
 	<outputs>
@@ -65,19 +78,19 @@
 Description
 -----------
 
-This tool performs two tests: the fold calculation, the number and the proportion of missing values. 
+This tool performs two tests: a mean fold change calculation and the number of missing values. 
 
 **Fold:**
-The test calculates the ratio between two classes.
+The test calculates the mean fold change between two classes. It could be converted into a logarithm.
 In the column name, the first class specified is the one used like numerator for the ratio.
 
 **Missing values:**
-This tool calculates the number and the proportion of missing values considering the class. 
+This tool calculates the number and the proportion of missing values in data matrix considering the class. 
 Missing values in numerical columns of data must be coded NA.
 
 **Two types of tests:**
 	|	- Between **one class** and the remaining samples: if you have only two classes or if you want to test only one class.
-	|	- **Each class**: if the column class contains at least three classes and you want to test each of them.
+	|	- **Each class**: if the column class contains at least three classes and you want to test each of them. Otherwise, you have two classes and you want to choose the one used like numerator or denominator for the mean fold change.
 
 -----------
 Input files
@@ -100,23 +113,29 @@
 **Class column**
 	| Select the class column in Sample metadata.
 
-**Type**
+**Type of test**
 	|  Two options:
 	|     - "One class" allows to perform tests on one class against the remaining samples.
-	|     - "Each class" allows to add several columns with the ratio and the number of missing values for each class.
+	|     - "Each class" allows to add several columns with the ratio between all the classes and the number of missing values for each class.
 
 **Selected class**
 	| If the type is "one class", specify it to calculate the ratio and the number of missing values. 
+	
+**Numerator or denominator**
+	| If the type is "one class", choose "top" or "bottom" to put the selected class as numerator or denominator (respectively) for the mean fold change.
+	
+**Logarithm**
+	| Choose if you want to transform the mean fold change with a log2 or log10.
 
 ------------
 Output file
 ------------
 
 **Variable metadata file**
-	| Contains the previous columns in variable metadata and the new ones with fold tests, numbers and proportion of missing values.
+	| Contains the previous columns in variable metadata and the new ones with fold tests, number and proportion of missing values.
 	
 **Graphs file**
-	| Contains barplots with the proportion of NA considering classes and boxplots with the folds values
+	| Contains barplots with the proportion of NA considering classes and boxplots with the fold values
 
 	</help>