Skip to content

Commit 77186a1

Browse files
committed
Add filtering options for SDA
1 parent 645290c commit 77186a1

File tree

1 file changed

+6
-2
lines changed
  • singlecell/src/org/labkey/singlecell/pipeline/singlecell

1 file changed

+6
-2
lines changed

singlecell/src/org/labkey/singlecell/pipeline/singlecell/RunSDA.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,17 @@ public Provider()
5151
SeuratToolParameter.create("minFeatureCount", "Min Feature Count", "This is used to filter genes. Only features with total expression across all cells above this value are included. The default of 5 is designed to include effectively all but the most lowly expressed genes", "ldk-integerfield", new JSONObject(){{
5252
put("minValue", 0);
5353
}}, 1, "minFeatureCount", false),
54-
SeuratToolParameter.create("minCellsExpressingFeature", "Min Cells Expressing Feature", "Can be used with perCellExpressionThreshold to drop features present in limited cells. Only features detected above perCellExpressionThreshold in at least minCellsExpressingFeature will be retained. If this value is less than zero it is interpreted as a percentage of total cells. If above zero it is interpeted as the min number of cells", "ldk-numberfield", new JSONObject(){{
54+
SeuratToolParameter.create("minCellsExpressingFeature", "Min Cells Expressing Feature", "Can be used with perCellExpressionThreshold to drop features present in limited cells. Only features detected above perCellExpressionThreshold in at least minCellsExpressingFeature will be retained. If this value is less than one, it is interpreted as a percentage of total cells. If above one, it is interpreted as the min number of cells", "ldk-numberfield", new JSONObject(){{
5555
put("minValue", 0);
5656
put("decimalPrecision", 2);
5757
}}, 0.02, "minCellsExpressingFeature", false),
5858
SeuratToolParameter.create("perCellExpressionThreshold", "Per Cell Expression Threshold", "Can be used with perCellExpressionThreshold to drop features present in limited cells. Only features detected above perCellExpressionThreshold in at least minCellsExpressingFeature will be retained", "ldk-integerfield", new JSONObject(){{
5959
put("minValue", 0);
60-
}}, 5, "perCellExpressionThreshold", false),
60+
}}, 0, "perCellExpressionThreshold", false),
61+
SeuratToolParameter.create("maxFeaturesDiscarded", "Max Features Discarded", "After filtering, if fewer than this number of features remain, an error will be thrown. This is a guard against overly aggressive filtering. This can either be an integer (meaning number of features), or 0-1 (which is interpreted as a percent of the input features)", "ldk-numberfield", new JSONObject(){{
62+
put("minValue", 0);
63+
put("decimalPrecision", 2);
64+
}}, 0.75),
6165
SeuratToolParameter.create("minLibrarySize", "Min Library Size", "Passed to dropsim::normaliseDGE() min_library_size", "ldk-integerfield", new JSONObject(){{
6266
put("minValue", 0);
6367
}}, 50),

0 commit comments

Comments
 (0)