readBAM: Import reads from a list of BAM files.

Description Usage Arguments Value Author(s) Examples

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

1
readBAM(files, type = "paired")

Arguments

files

List of input BAM files.

type

Describes the type of reads. Values allowed are single for single-ended reads and paired for pair-ended.

Value

GenomicRanges::GRangesList containing the reads of each input BAM file.

Author(s)

Ricard Illa ricard.illa@irbbarcelona.org

Examples

1
2
3
4
infile <- system.file(
    "extdata", "cellCycleM_chrII_5000-25000.bam", package="nucleR"
)
reads <- readBAM(infile, type="paired")

gthar/nucleR2 documentation built on May 17, 2019, 8:56 a.m.