Skip to content

Commit 552d9ce

Browse files
committed
Support more clonotype filters
1 parent efcd54e commit 552d9ce

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

singlecell/resources/chunks/ApplyKnownClonotypicData.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ for (datasetId in names(seuratObjects)) {
1111
printName(datasetId)
1212
seuratObj <- readSeuratRDS(seuratObjects[[datasetId]])
1313

14-
seuratObj <- ApplyKnownClonotypicData(seuratObj, antigenInclusionList = antigenInclusionList, antigenExclusionList = antigenExclusionList)
14+
seuratObj <- ApplyKnownClonotypicData(seuratObj, antigenInclusionList = antigenInclusionList, antigenExclusionList = antigenExclusionList, minActivationFrequency = minActivationFrequency)
1515
saveData(seuratObj, datasetId)
1616

1717
# Cleanup

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ public Provider()
3333
put("delimiter", ",");
3434
put("stripCharsRe", "/['\"]/g");
3535
put("replaceAllWhitespace", false);
36-
}}, null, null, true, true).delimiter(",")
36+
}}, null, null, true, true).delimiter(","),
37+
SeuratToolParameter.create("minActivationFrequency", "Minimum Activation Frequency", "If provided, only responses with an activation frequency (of the parent population), will be included", "ldk-numberfield", new JSONObject(){{
38+
put("minValue", 0);
39+
put("maxValue", 1.0);
40+
put("decimalPrecision", 4);
41+
}}, 0)
3742
), List.of("/sequenceanalysis/field/TrimmingTextArea.js"), null);
3843
}
3944

0 commit comments

Comments
 (0)