powered by
This function takes a snap-format file as input and create a snap object.
createSnap(file, sample, description, do.par, num.cores)
Name of a snap-format file.
A short sample name (i.g. "MOS.rep1").
Description of the experiment [NULL].
A logical variable indicates if run this using multiple processors [FALSE].
Number of processers to use [1].
A snap object
# NOT RUN { file.name = system.file("extdata", "demo.snap", package = "SnapATAC"); demo.sp = createSnap(file.name, sample="demo", do.par=FALSE); # }
Run the code above in your browser using DataLab