Learn R Programming

nucleR (version 2.4.0)

readBAM: Import reads from a list of BAM files.

Description

This function allows to load reads from BAM files from both single and paired-end commming from Next Generation Sequencing nucleosome mapping experiments.

Usage

readBAM(file, type = "single", mc.cores = 1)

Arguments

file
List of input BAM files.
type
Describes the type of reads. Values allowed are single for single-ended reads and paired for pair-ended.
mc.cores
If multicore support, the number of cores available.

Value

  • List of GRanges containing the reads of each input BAM file.