Description Usage Arguments Value
View source: R/parallel_read_bams.R
This function simply reads BAM files in using parallel's mclapply and GenomicAlignments readGAlignments. It results in a named list of bam files. By default, this reads all BAMs it can find, if you want to use a subset of BAMs from a folder, you make your own named list of BAM files.
1 | parallel_read_bams(dirWithBams, ncores)
|
dirWithBams |
path to a directory with bam files in it, it will only. attempt to read things that end in .bam. |
ncores |
the number of cores to use, typically 1 per bam. |
A list of bams read in using readGAlignments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.