Skip to content

Commit 69d8171

Browse files
committed
Improve FeaturePlot aesthetics
1 parent 456f9b5 commit 69d8171

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

singlecell/resources/chunks/FeaturePlots.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ for (datasetId in names(seuratObjects)) {
77
next
88
}
99

10-
P1 <- Seurat::FeaturePlot(seuratObj, features = c(field), reduction = 'tsne')
11-
P2 <- Seurat::FeaturePlot(seuratObj, features = c(field), reduction = 'umap')
10+
P1 <- Seurat::FeaturePlot(seuratObj, features = c(field), reduction = 'tsne', min.cutoff = 'q05', max.cutoff = 'q95')
11+
P2 <- Seurat::FeaturePlot(seuratObj, features = c(field), reduction = 'umap', min.cutoff = 'q05', max.cutoff = 'q95')
1212

1313
if ('wnn.umap' %in% names(seuratObj@reductions)) {
14-
P3 <- Seurat::FeaturePlot(seuratObj, features = c(field), reduction = 'wnn.umap')
14+
P3 <- Seurat::FeaturePlot(seuratObj, features = c(field), reduction = 'wnn.umap', min.cutoff = 'q05', max.cutoff = 'q95')
1515
P1 <- P1 | P2 | P3
1616
} else {
1717
P1 <- P1 | P2

0 commit comments

Comments
 (0)