View source: R/runSnapAddPmat.R
runSnapAddPmat | R Documentation |
This function takes a peak list and a snap object as input and add cell-by-peak matrix into the existing snap file.
runSnapAddPmat(obj, peak, path.to.snaptools, tmp.folder, num.cores, buffer.size)
obj |
A snap obj. |
peak |
A GenomicRanges object that contains peak coordinates. |
path.to.snaptools |
Path to snaptools excutable file. |
tmp.folder |
Directory to store temporary files generated by this program. |
num.cores |
Number of CPUs to use. |
buffer.size |
Buffer size for incrementally increasing internal array size to store reads alignment information. In most cases, you don't have to change this parameter. However, if there are very high coverage dataset that each barcode has more than 10000 fragments, it's recommended to specify a smaller buffer size in order to decrease memory usage (but it will take longer time to read snap files) [1000]. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.