cell_map {ccfindR} | R Documentation |
Retrieve a coefficient matrix H
derived from factorization by rank value
and generate heatmap of its elements.
cell_map(object, rank, main = "Cells", ...)
object |
Object of class |
rank |
Rank value for which the cell map is to be displayed.
The object must contain the corresponding slot: one element of
|
main |
Title of plot. |
... |
NULL
set.seed(1) x <- simulate_data(nfeatures=10,nsamples=c(20,20,60)) rownames(x) <- seq_len(10) colnames(x) <- seq_len(100) s <- scNMFSet(count=x,rowData=seq_len(10),colData=seq_len(100)) s <- vb_factorize(s,ranks=seq(2,5)) plot(s) cell_map(s, rank=3)