Skip to content

Commit cc6b74b

Browse files
committed
Support parameter for collapsing Gamma-only cells to Gamma/Delta
1 parent 3d40d73 commit cc6b74b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

singlecell/resources/chunks/ClassifyTNKByExpression.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ for (datasetId in names(seuratObjects)) {
1414
seuratObj <- Rdiscvr::DownloadAndAppendTcrClonotypes(seuratObj)
1515
}
1616

17-
seuratObj <- Rdiscvr::ClassifyTNKByExpression(seuratObj)
17+
seuratObj <- Rdiscvr::ClassifyTNKByExpression(seuratObj, collapseGOnlyToGD = collapseGOnlyToGD)
1818

1919
saveData(seuratObj, datasetId)
2020

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import org.labkey.api.sequenceanalysis.pipeline.AbstractPipelineStepProvider;
44
import org.labkey.api.sequenceanalysis.pipeline.PipelineContext;
5+
import org.labkey.api.sequenceanalysis.pipeline.ToolParameterDescriptor;
56
import org.labkey.api.singlecell.pipeline.SingleCellStep;
67

78
import java.util.Arrays;
@@ -18,6 +19,7 @@ public static class Provider extends AbstractPipelineStepProvider<SingleCellStep
1819
public Provider()
1920
{
2021
super("ClassifyTNKByExpression", "Classify T/NK By Expression", "RDiscvr", "Classify T and NK By Expression and TCR clonotype, using best available evidence of ground-truth.", Arrays.asList(
22+
ToolParameterDescriptor.create("collapseGOnlyToGD", "Collapse Gamma/Only", "If checked, cells labeled as gamma-chain-only will be collapsed to the Gamma/Delta category", "checkbox", null, false)
2123
), null, null);
2224
}
2325

0 commit comments

Comments
 (0)