View source: R/SnapATACUtils.R
snapGmat2Seurat | R Documentation |
Convert snap object to Seurat by gmat
snapGmat2Seurat( snap, eigDims = 1:50, assay = "GeneScore", pcaPrefix = "SnapATAC_", nameDelim = "-", useSnapATACEmbed = TRUE )
snap |
snap object defined in SnapATAC package snap@gmat must be not empty; snap@smat@dmat should not be empty |
eigDims |
vector, used for choosing PCA components, default 1:50 |
assay |
characters, name used in Seurat object |
pcaPrefix |
characters, default "SnapATAC_" |
nameDelim |
characters, default "-" |
useSnapATACEmbed |
bool, use SnapATAC embedding as pca embeding in Seurat, default TRUE. |
Seurat object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.