Skip to content

Commit b21cfe1

Browse files
committed
Update scGate to use consensusModels argument
1 parent 49c9a24 commit b21cfe1

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
for (datasetId in names(seuratObjects)) {
22
seuratObj <- readRDS(seuratObjects[[datasetId]])
33

4-
seuratObj <- RIRA::RunScGateForModels(seuratObj, modelNames = modelNames, labelRename = list(Tcell = 'T_NK', NK = 'T_NK'), dropAmbiguousConsensusValues = dropAmbiguousConsensusValues)
4+
seuratObj <- RIRA::RunScGateForModels(seuratObj, modelNames = modelNames, labelRename = list(Tcell = 'T_NK', NK = 'T_NK'), dropAmbiguousConsensusValues = dropAmbiguousConsensusValues, consensusModels = consensusModels)
55

66
saveData(seuratObj, datasetId)
77
}

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ public Provider()
2121
{
2222
super("RunScGate", "Run scGate", "scGate", "This will run scGate with the default built-in models and create a consensus call.", Arrays.asList(
2323
SeuratToolParameter.create("modelNames", "Model(s)", "The set of scGate modules to test.", "ldk-simplecombo", new JSONObject()
24+
{{
25+
put("multiSelect", true);
26+
put("allowBlank", false);
27+
put("storeValues", "Bcell;Tcell;NK;Myeloid;Stromal;pDC;Erythrocyte;Epithelial;Platelet_MK");
28+
put("initialValues", "Bcell;Tcell;NK;Myeloid;Stromal;pDC;Epithelial;Epithelial;Platelet_MK");
29+
put("delimiter", ";");
30+
put("joinReturnValue", true);
31+
}}, null, null, true, true),
32+
SeuratToolParameter.create("consensusModels", "Models for Consensus", "The subset of models to be considered for the consensus call.", "ldk-simplecombo", new JSONObject()
2433
{{
2534
put("multiSelect", true);
2635
put("allowBlank", false);

0 commit comments

Comments
 (0)