Skip to content

Commit a90d209

Browse files
committed
Support additional methods for escape
1 parent 16309ff commit a90d209

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

singlecell/resources/chunks/RunEscape.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ for (datasetId in names(seuratObjects)) {
88
printName(datasetId)
99
seuratObj <- readSeuratRDS(seuratObjects[[datasetId]])
1010

11-
seuratObj <- CellMembrane::RunEscape(seuratObj, outputAssayBaseName = outputAssayBaseName, doPlot = TRUE, performDimRedux = performDimRedux, nCores = nCores)
11+
seuratObj <- CellMembrane::RunEscape(seuratObj, outputAssayBaseName = outputAssayBaseName, doPlot = TRUE, performDimRedux = performDimRedux, escapeMethod = escapeMethod, nCores = nCores)
1212

1313
saveData(seuratObj, datasetId)
1414

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ public Provider()
2323
SeuratToolParameter.create("outputAssayBaseName", "Output Assay Basename", "The name of the assay to store results", "textfield", new JSONObject(){{
2424
put("allowBank", false);
2525
}}, "escape."),
26+
SeuratToolParameter.create("escapeMethod", "Escape Method", "Passed directly to escape::runEscape()", "ldk-simplecombo", new JSONObject()
27+
{{
28+
put("multiSelect", false);
29+
put("allowBlank", false);
30+
put("storeValues", "ssGSEA;GSVA;UCell;AUCell");
31+
put("initialValues", "ssGSEA");
32+
put("delimiter", ";");
33+
put("joinReturnValue", true);
34+
}}, null),
2635
SeuratToolParameter.create("performDimRedux", "Perform DimRedux", "If true, the standard seurat PCA/FindClusters/UMAP process will be run on the escape data. This may be most useful when using a customGeneSet or a smaller set of features/pathways", "checkbox", new JSONObject(){{
2736

2837
}}, false, null, true)

0 commit comments

Comments
 (0)