Skip to content

Commit dda6000

Browse files
committed
Bugfix to seurat downsample with multiple fields
1 parent cca6c22 commit dda6000

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ public Provider()
2323
SeuratToolParameter.create("targetCells", "Target Cells Per Unit of Data", "Each unit of data will be downsampled to this level", "ldk-integerfield", new JSONObject(){{
2424
put("allowBlank", false);
2525
}}, null),
26-
SeuratToolParameter.create("subsetFields", "Additional Grouping Fields", "A comma-separated list of fields that will be used to subset data within each seurat object. For example, if 'BarcodePrefix' is provided and 500 target cells is selected, each incoming seurat object will be subset to no more than 500 cells per unique value of BarcodePrefix. If blank, each object will be treated as one unit of data.", "textfield", new JSONObject(){{
27-
28-
}}, null),
26+
SeuratToolParameter.create("subsetFields", "Additional Grouping Fields", "A comma-separated list of fields that will be used to subset data within each seurat object. For example, if 'BarcodePrefix' is provided and 500 target cells is selected, each incoming seurat object will be subset to no more than 500 cells per unique value of BarcodePrefix. If blank, each object will be treated as one unit of data.", "sequenceanalysis-trimmingtextarea", new JSONObject(){{
27+
put("delimiter", ";");
28+
}}, null, "subsetFields", true, true),
2929
SeuratToolParameter.create("seed", "Random Seed", "This random seed, used for downsampling", "ldk-integerfield", new JSONObject(){{
3030

3131
}}, 1234)
32-
), null, null);
32+
), Arrays.asList("/sequenceanalysis/field/TrimmingTextArea.js"), null);
3333
}
3434

3535

0 commit comments

Comments
 (0)