loadAllData: Function to load all data from a list of bam files

Description Usage Arguments Value Note Author(s)

View source: R/shearwater-functions.R

Description

This function uses the parallel package and the bam2R interface to load all nucleotide counts from a list of bam files and a set of regions into a large array.

Usage

1
loadAllData(files, regions, ..., mc.cores = 1)

Arguments

files

A character vector with the paths to all bam files

regions

Either a GRanges or data.frame with the coordinates of interest

...

Arguments passed to bam2R

mc.cores

Number of cores used for loading, default = 1

Value

counts

Note

Experimental code, subject to changes

Author(s)

mg14


deepSNV documentation built on Nov. 8, 2020, 8:01 p.m.