createPmat | R Documentation |
This function takes a snap object and peak list as input and creates cell-by-peak matrix
createPmat(obj, peaks, ncell.chunk = 20, do.par = TRUE, num.cores = 1)
obj |
A snap object. |
peaks |
A GRanges object contains the peaks |
ncell.chunk |
A numeric class that indicates the number of cells to calculate per processing core [20]. |
do.par |
A logical variable indicates if run this using multiple processors [TRUE]. |
num.cores |
Number of processers to use [1]. |
Returns a snap objects contains cell-by-peak matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.