Skip to content

Commit f55483e

Browse files
committed
Allow user to set minEDS
1 parent c663787 commit f55483e

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

singlecell/resources/chunks/IdentifyAndStoreActiveClonotypes.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ for (datasetId in names(seuratObjects)) {
1616
seuratObj <- Rdiscvr::DownloadAndAppendTcrClonotypes(seuratObj, allowMissing = TRUE)
1717
}
1818

19-
Rdiscvr::IdentifyAndStoreActiveClonotypes(seuratObj, chain = 'TRA', storeStimLevelData = FALSE)
20-
Rdiscvr::IdentifyAndStoreActiveClonotypes(seuratObj, chain = 'TRB')
19+
Rdiscvr::IdentifyAndStoreActiveClonotypes(seuratObj, chain = 'TRA', storeStimLevelData = FALSE, minEDS = minEDS)
20+
Rdiscvr::IdentifyAndStoreActiveClonotypes(seuratObj, chain = 'TRB', minEDS = minEDS)
2121

2222
saveData(seuratObj, datasetId)
2323

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

Lines changed: 4 additions & 1 deletion
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.singlecell.pipeline.SeuratToolParameter;
56
import org.labkey.api.singlecell.pipeline.SingleCellStep;
67

78
import java.util.List;
@@ -17,7 +18,9 @@ public static class Provider extends AbstractPipelineStepProvider<SingleCellStep
1718
{
1819
public Provider()
1920
{
20-
super("IdentifyAndStoreActiveClonotypes", "Identify And Store Active Clonotypes", "Rdiscvr", "This uses RDiscvr::IdentifyAndStoreActiveClonotypes to predict TCR-triggered T cells and save the results to the database", List.of(), null, null);
21+
super("IdentifyAndStoreActiveClonotypes", "Identify And Store Active Clonotypes", "Rdiscvr", "This uses RDiscvr::IdentifyAndStoreActiveClonotypes to predict TCR-triggered T cells and save the results to the database", List.of(
22+
SeuratToolParameter.create("minEDS", "Min EDS", "If provided, only cells with an EffectorDifferentiationScore (EDS) above this value will be included", "ldk-integerfield", null, 2.0, null, true)
23+
), null, null);
2124
}
2225

2326

0 commit comments

Comments
 (0)