View source: R/General_functions.R
MergeMtx | R Documentation |
This function allows you to input a list of sparse matrix and merge by rownames, return a new sparse matrix
MergeMtx(mtx.list, postfix)
mtx.list |
A list of sparse matrix to be merged |
postfix |
a vector of postfix (Usually are numbers that added at the end of cell names). Better be consistent with a merged redeemR object orders |
new sparse matrix
Donor4_HSC_HPC_BMMC.Mtx<-MergeMtx(list(Donor04_BMMC_Multiome_wrapper$seurat@assays$RNA@counts,Donor04_HPC_Multiome_wrapper$seurat@assays$RNA@counts,Donor04_HSC_Multiome_wrapper$seurat@assays$RNA@counts),c(3,2,1))
Donor4_HSC_HPC_BMMC.RNA.seurat<-GEM_Wrapper(Donor4_HSC_HPC_BMMC.Mtx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.