Skip to content

Commit 37b0a6e

Browse files
committed
Allow user to specify tests for FindMarkers
1 parent 1e79aa1 commit 37b0a6e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
package org.labkey.singlecell.pipeline.singlecell;
22

3+
import org.apache.commons.lang3.StringUtils;
34
import org.json.JSONObject;
45
import org.labkey.api.sequenceanalysis.pipeline.AbstractPipelineStepProvider;
56
import org.labkey.api.sequenceanalysis.pipeline.PipelineContext;
7+
import org.labkey.api.sequenceanalysis.pipeline.ToolParameterDescriptor;
8+
import org.labkey.api.singlecell.CellHashingService;
69
import org.labkey.api.singlecell.pipeline.SeuratToolParameter;
710
import org.labkey.api.singlecell.pipeline.SingleCellStep;
811

912
import java.util.Arrays;
13+
import java.util.stream.Collectors;
1014

1115
public class FindMarkers extends AbstractCellMembraneStep
1216
{
@@ -24,6 +28,15 @@ public Provider()
2428
put("allowBlank", false);
2529
put("height", 200);
2630
put("delimiter", ",");
31+
}}, null),
32+
SeuratToolParameter.create("testsToUse", "Tests To Use", "The set of tests to perform.", "ldk-simplecombo", new JSONObject()
33+
{{
34+
put("multiSelect", true);
35+
put("allowBlank", false);
36+
put("storeValues", "wilcox;bimod;roc;t;negbinom;poisson;LR;MAST;DESeq2");
37+
put("initialValues", "wilcox;MAST");
38+
put("delimiter", ";");
39+
put("joinReturnValue", true);
2740
}}, null)
2841
), Arrays.asList("/sequenceanalysis/field/TrimmingTextArea.js"), null);
2942
}

0 commit comments

Comments
 (0)