Skip to content

Commit 47083d7

Browse files
committed
Accommodate changes from DropletUtils::emptyDrops()
- Knock-on effect of changes to `tenx-unfiltered-pbmc4k.Rmd` in **OSCA.workflows** (OSCA-source/OSCA.workflows@6ab1fc4) - Details of changes: MarioniLab/DropletUtils#118 - Results in slightly different set of non-empty droplets which causes knock-on changes to the cluster labels
1 parent 64e15dd commit 47083d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/book/clustering.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ plotExpression(sce.pbmc, features=c("CD3E", "CCR7", "CD69", "CD44"),
547547
x=I(clust.full), colour_by=I(clust.full))
548548
549549
# Repeating modelling and PCA on the subset.
550-
memory <- 9L
550+
memory <- 8L
551551
sce.memory <- sce.pbmc[,clust.full==memory]
552552
dec.memory <- modelGeneVar(sce.memory)
553553
sce.memory <- denoisePCA(sce.memory, technical=dec.memory,
@@ -574,7 +574,7 @@ plotExpression(sce.memory, features=c("CD8A", "CD4"),
574574
by.clust <- split(logcounts(sce.memory)["CD8A",], clust.memory)
575575
by.clust.cd8 <- vapply(by.clust, mean, 0)
576576
top.cd8 <- which.max(by.clust.cd8)
577-
stopifnot(length(by.clust.cd8) == 2L, all(by.clust.cd8[top.cd8] > by.clust.cd8[-top.cd8] + 1))
577+
stopifnot(length(by.clust.cd8) == 2L, all(by.clust.cd8[top.cd8] > by.clust.cd8[-top.cd8] + 0.8))
578578
579579
by.clust <- split(logcounts(sce.memory)["CD4",], clust.memory)
580580
by.clust.cd4 <- vapply(by.clust, mean, 0)

0 commit comments

Comments
 (0)