Description Usage Arguments Value Examples
Use factorization results in an object to assign cells into clusters.
1 | cluster_id(object, rank = 2)
|
object |
Object of class |
rank |
Rank value whose factor matrices are to be used for assignment. |
Vector of length equal to the number of cells containing cluster ID numbers of each cell.
1 2 3 4 5 6 | set.seed(1)
x <- simulate_whx(nrow=50,ncol=100,rank=5)
s <- scNMFSet(count=x$x)
s <- vb_factorize(s,ranks=seq(2,8),nrun=5)
cid <- cluster_id(s, rank=5)
table(cid)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.