You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: singlecell/src/org/labkey/singlecell/pipeline/singlecell/RunCelltypistCustomModel.java
+37-1Lines changed: 37 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,43 @@ public Provider()
33
33
put("category", TrainCelltypist.CATEGORY);
34
34
put("performGenomeFilter", false);
35
35
}}, null),
36
-
SeuratToolParameter.create("columnPrefix", "Column Prefix", "This string will be pre-pended to the normal output columns (i.e. majority_voting and predicted_labels)", "textfield", null, null)
36
+
SeuratToolParameter.create("columnPrefix", "Column Prefix", "This string will be pre-pended to the normal output columns (i.e. majority_voting and predicted_labels)", "textfield", null, null),
37
+
SeuratToolParameter.create("convertAmbiguousToNA", "Convert Ambiguous To NA", "If true, any values for majority_voting with commas (indicating they are ambiguous) will be converted to NA", "checkbox", newJSONObject()
38
+
{{
39
+
put("checked", false);
40
+
}}, false),
41
+
SeuratToolParameter.create("maxAllowableClasses", "Max Allowable Classes", "Celltypist can assign a cell to many classes, creating extremely long labels. Any cell with more than this number of labels will be set to NA", "ldk-integerfield", newJSONObject()
42
+
{{
43
+
put("minValue", 0);
44
+
}}, 5),
45
+
SeuratToolParameter.create("minFractionToInclude", "Min Fraction To Include", "Any labels representing fewer than this fraction of the cells will be set to NA", "ldk-numberfield", newJSONObject()
46
+
{{
47
+
put("minValue", 0);
48
+
put("maxValue", 1);
49
+
put("decimalPrecision", 3);
50
+
}}, 0.01),
51
+
SeuratToolParameter.create( "mode", "Mode", "The build-in model(s) to use.", "ldk-simplecombo", newJSONObject(){{
SeuratToolParameter.create("useMajorityVoting", "Majority Voting", "If true, celltypist will be run using --majority-voting", "checkbox", newJSONObject()
58
+
{{
59
+
put("checked", true);
60
+
}}, true),
61
+
SeuratToolParameter.create("pThreshold", "pThreshold", "This is passed to the --p-thres argument.", "ldk-numberfield", newJSONObject()
62
+
{{
63
+
put("minValue", 0);
64
+
put("maxValue", 1);
65
+
put("decimalPrecision", 3);
66
+
}}, 0.5),
67
+
SeuratToolParameter.create("minProp", "minProp", "This is passed to the --min-prop argument.", "ldk-numberfield", newJSONObject()
0 commit comments