getExpectedDoublets | R Documentation |
getExpectedDoublets
getExpectedDoublets(x, dbr = NULL, only.heterotypic = TRUE, dbr.per1k = 0.008)
x |
A vector of cluster labels for each cell |
dbr |
The expected doublet rate. |
only.heterotypic |
Logical; whether to return expectations only for heterotypic doublets |
dbr.per1k |
The expected proportion of doublets per 1000 cells. |
The expected number of doublets of each combination of clusters
# random cluster labels
cl <- sample(head(LETTERS,4), size=2000, prob=c(.4,.2,.2,.2), replace=TRUE)
getExpectedDoublets(cl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.