View source: R/SnapATACUtils.R
addMatToSnap | R Documentation |
Add bmat or gmat to snap
addMatToSnap( snap, cellGroup = NULL, group = NULL, outDir = NULL, matType = "bmat", gencode = "vM16", ndp = -1, ncores = 2, force = TRUE, binSize = 5000, coverFile = TRUE, prefix = "snap" )
snap |
snap object |
cellGroup |
vector of characters cluster labels for snap default is NULL |
group |
characters which cluster needes default is NULL |
outDir |
characters default is NULL |
matType |
characters default is "bmat" |
gencode |
characters default is "vM16" |
ndp |
integer default is -1 if its value is larger than 0, then down sampling will be used. |
ncores |
integer default is 2 |
force |
bool default is TRUE if add mat even the mat already exists |
binSize |
integer default is 5000 |
coverFile |
bool default is TRUE when set it TRUE, it will cover the output file if exists. |
prefix |
characters default is "snap", which is used for output. |
snap object with corresponding mat.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.