Skip to content

Commit 472eeb3

Browse files
committed
Add plots to custom UCell script
1 parent 8ddba54 commit 472eeb3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

singlecell/resources/chunks/CustomUCell.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ for (datasetId in names(seuratObjects)) {
1313
}
1414

1515
seuratObj <- UCell::AddModuleScore_UCell(seuratObj, features = toCalculate, storeRanks = storeRanks, assay = assayName)
16+
for (n in names(toCalculate)) {
17+
print(Seurat::FeaturePlot(seuratObj, features = paste0(n, '_UCell'), min.cutoff = 'q02', max.cuttoff = 'q98'))
18+
}
19+
1620
saveData(seuratObj, datasetId)
1721

1822
# Cleanup

0 commit comments

Comments
 (0)