@@ -1035,9 +1035,8 @@ enum ValueTransformation
1035
1035
"detection, using the threshold-for-data-significance." , false ),
1036
1036
1037
1037
MAX ("max" , "The value with maximum absolute is used for the analysis. There should only be one group of " +
1038
- "values (marked with value-column), the values have to be distributed around " +
1039
- "zero, and a threshold value should be provided for significance detection, using the " +
1040
- "threshold-for-data-significance." , false ),
1038
+ "values (marked with value-column), the values have to be distributed around zero, and a threshold value " +
1039
+ "should be provided for significance detection, using the threshold-for-data-significance." , false ),
1041
1040
1042
1041
DIFFERENCE_OF_MEANS ("difference-of-means" , "There should be control and test values, whose difference would " +
1043
1042
"be used for significance detection. The threshold for significance (threshold-for-data-significance) " +
@@ -1052,13 +1051,13 @@ enum ValueTransformation
1052
1051
SIGNIFICANT_CHANGE_OF_MEAN ("significant-change-of-mean" , "There should be sufficient amount of control and " +
1053
1052
"test values to detect the significance of change with a t-test. Technically there should be more than 3" +
1054
1053
" controls and 3 tests, practically, they should be much more to provide statistical power. The " +
1055
- "threshold-for-data-significance should be used for a p-value threshold, or " +
1056
- "alternatively, fdr-threshold-for-data-significance should be used for " +
1057
- "controlling significance at the false discovery rate level." , true ),
1054
+ "threshold-for-data-significance should be used for a p-value threshold, or alternatively, " +
1055
+ "fdr-threshold-for-data-significance should be used for controlling significance at the false discovery " +
1056
+ "rate level." , true ),
1058
1057
1059
1058
SIGNIFICANT_CHANGE_OF_MEAN_PAIRED ("significant-change-of-mean-paired" , "There should be sufficient amount of " +
1060
1059
"control and test values to detect the significance of change with a paired t-test. Technically there " +
1061
- "should be more than 3 controls and 3 tests, practically, they should be much more to provide statistical" +
1060
+ "should be at least 3 controls and 3 tests, practically, they should be much more to provide statistical" +
1062
1061
" power. The order of control and test value columns indicate the pairing. First control column in the " +
1063
1062
"parameters file is paired with first test column, second is paired with second, etc. The " +
1064
1063
"threshold-for-data-significance should be used for a p-value threshold, or alternatively, " +
@@ -1068,11 +1067,18 @@ enum ValueTransformation
1068
1067
SIGNED_P_VALUES ("signed-p-values" , "If the dataset has its own calculation of p-values desired to be used " +
1069
1068
"directly, then for each comparison, there must be a column in the dataset that has these p-values " +
1070
1069
"multiplied with the sign of the change. For instance a value -0.001 means downregulation with a p-value " +
1071
- "of 0.001. If an FDR control is desired, then the p-values should not be adjusted." , false ),
1070
+ "of 0.001. Don't use 0 and -0 values in the data file with this option. Java cannot distinguish between " +
1071
+ "the two. Instead, convert 0 values to very small but nonzero values, such as 1e-10 or -1e-10. " +
1072
+ "If an FDR control is desired, there are two ways to have it. First way is to use unadjusted p-values in " +
1073
+ "the data file and then use the fdr-threshold-for-data-significance parameter to set the desired FDR " +
1074
+ "level. Second way is to use adjusted p-values in the data file and use the " +
1075
+ "threshold-for-data-significance parameter to set the FDR level. Don't mix these two ways. " +
1076
+ "If fdr-threshold-for-data-significance is used over already-adjusted p-values, then the code will apply " +
1077
+ "the Benjamini-Hochberg procedure over those already-adjusted p-values." , false ),
1072
1078
1073
1079
CORRELATION ("correlation" , "There should be one group of values (marked with value-column). There must be at " +
1074
- "least 3 value columns technically, but many more " +
1075
- "than that practically to have some statistical power for significant correlation. " , false );
1080
+ "least 3 value columns technically, but many more than that practically to have some statistical power " +
1081
+ "for significant correlation. " , false );
1076
1082
1077
1083
ValueTransformation (String name , String description , boolean twoGroupComparison )
1078
1084
{
@@ -1332,7 +1338,9 @@ enum Parameter
1332
1338
CALCULATE_NETWORK_SIGNIFICANCE ((value , cp ) -> cp .calculateNetworkSignificance = webServerMode ? false : Boolean .valueOf (value ),
1333
1339
"Calculate network significance" ,
1334
1340
"Whether to calculate significances of the properties of the graph. When turned on, a p-value for network" +
1335
- " size, and also downstream activity enrichment p-values for each gene on the graph are calculated." ,
1341
+ " size, and also downstream activity enrichment p-values for each gene on the graph are calculated. " +
1342
+ "This parameter is ignored by webserver due to resource limitations. To calculate network significance, " +
1343
+ "please run CausalPath locally from its JAR file." ,
1336
1344
new EntryType (Boolean .class ), new Boolean [][]{{Boolean .FALSE }}, true , false , new Cond (Logical .NOT )),
1337
1345
PERMUTATIONS_FOR_SIGNIFICANCE ((value , cp ) -> cp .permutationCount = Integer .valueOf (value ),
1338
1346
"Number of permutations for calculating network significance" ,
@@ -1410,7 +1418,7 @@ enum Parameter
1410
1418
new String []{NetworkLoader .ResourceType .PC .name ()},
1411
1419
new String []{NetworkLoader .ResourceType .PhosphoNetworks .name ()},
1412
1420
new String []{NetworkLoader .ResourceType .IPTMNet .name ()}},
1413
- true , true , null ),
1421
+ false , true , null ),
1414
1422
RELATION_FILTER_TYPE ((value , cp ) ->
1415
1423
{
1416
1424
if (!cp .cs .hasGraphFilter ())
@@ -1453,7 +1461,7 @@ enum Parameter
1453
1461
"Specifies the value where node colors reach most intense color. Has to be a positive value, and used " +
1454
1462
"symmetrically. In the case of value-transformation is significant-change-of-mean, the value is " +
1455
1463
"-log(p) with a sign associated to it." ,
1456
- new EntryType (Double .class ), new String [][]{{"1 " }}, false , false ,
1464
+ new EntryType (Double .class ), new String [][]{{"10 " }}, false , false ,
1457
1465
new Cond ( Logical .NOT , new Cond (VALUE_TRANSFORMATION .getText (), ValueTransformation .CORRELATION .name ))),
1458
1466
SHOW_ALL_GENES_WITH_PROTEOMIC_DATA ((value , cp ) -> cp .showAllGenesWithProteomicData = Boolean .valueOf (value ),
1459
1467
"Show all genes with significant proteomic data" ,
0 commit comments