View source: R/snap-utilities.R
extractReads | R Documentation |
This function takes a barcode list and snap file as input and quickly extract reads belonging to the given barcodes.
extractReads(barcodes, files, do.par = TRUE, num.cores = 1)
barcodes |
A vector contains the selected barcodes. |
files |
A vector contains the snap file that barcodes belong to. |
do.par |
A logic variable indicates weather to run this in parallel with multiple processors. |
num.cores |
Number of processors to use. |
Returns A GenomicRanges object that contains the reads
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.