View source: R/snap-utilities.R
createSnap | R Documentation |
This function takes a snap-format file as input and create a snap object.
createSnap(file, sample, description, do.par, num.cores)
file |
Name of a snap-format file. |
sample |
A short sample name (i.g. "MOS.rep1"). |
description |
Description of the experiment [NULL]. |
do.par |
A logical variable indicates if run this using multiple processors [FALSE]. |
num.cores |
Number of processers to use [1]. |
A snap object
file.name = system.file("extdata", "demo.snap", package = "SnapATAC"); demo.sp = createSnap(file.name, sample="demo", do.par=FALSE);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.