Skip to content

Commit e6ebe25

Browse files
committed
Support additional seurat options
1 parent 8988d0d commit e6ebe25

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

singlecell/resources/chunks/CiteSeqDimRedux.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ for (datasetId in names(seuratObjects)) {
33
seuratObjects[[datasetId]] <- NULL
44

55
#TODO: what if not used?
6-
seuratObj <- CellMembrane::CiteSeqDimRedux(seuratObj)
6+
seuratObj <- bindArgs(CellMembrane::CiteSeqDimRedux, seuratObj)()
77

88
newSeuratObjects[[datasetId]] <- seuratObj
99

singlecell/resources/chunks/FindMarkers.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ for (datasetId in names(seuratObjects)) {
33
seuratObjects[[datasetId]] <- NULL
44

55
outFile = paste0(datasetId, '.markers.txt')
6-
dt <- bindArgs(CellMembrane::Find_Markers, seuratObj)
6+
dt <- bindArgs(CellMembrane::Find_Markers, seuratObj)()
77
print(dt)
88

99
# Cleanup

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package org.labkey.singlecell.pipeline.singlecell;
22

3+
import org.json.JSONObject;
34
import org.labkey.api.sequenceanalysis.pipeline.AbstractPipelineStepProvider;
45
import org.labkey.api.sequenceanalysis.pipeline.PipelineContext;
6+
import org.labkey.api.singlecell.pipeline.SeuratToolParameter;
57
import org.labkey.api.singlecell.pipeline.SingleCellStep;
68

79
import java.util.Arrays;
@@ -18,7 +20,9 @@ public static class Provider extends AbstractPipelineStepProvider<SingleCellStep
1820
public Provider()
1921
{
2022
super("CiteSeqDimRedux", "CiteSeq DimRedux", "CellMembrane/Seurat", "This will run DimRedux steps on the ADT data.", Arrays.asList(
21-
23+
SeuratToolParameter.create("performClrNormalization", "Perform CLR Normalization", "If true, Seurat CLR normalization will be performed. Otherwise any pre-existing normalization is used.", "checkbox", new JSONObject(){{
24+
put("checked", true);
25+
}}, true, "performClrNormalization", true)
2226
), null, null);
2327
}
2428

0 commit comments

Comments
 (0)