getBamMultiMatching: Gets bam multi matching

View source: R/bamio.R

getBamMultiMatchingR Documentation

Gets bam multi matching

Description

Gets bam multi matching and returns the result as an integer vector.

Usage

getBamMultiMatching(param, bamFile, nReads = NULL)

Arguments

param

a list of parameters:

  • paired a logical indicating whether the samples are paired.

bamFile

a character representing the bam file path.

nReads

an integer specifying the number of reads. These additional reads will be counted in "0"

Value

Returns a integer vector specifying the amount of matching reads.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

param = ezParam()
bamFile <- system.file("extdata", "ex1.bam", package="Rsamtools", mustWork=TRUE)
getBamMultiMatching(param, bamFile, nReads=10000)

uzh/ezRun documentation built on April 19, 2024, 8:25 a.m.