Description Usage Arguments Value
cnvReadBam
serves as a wrapper to call Rsamtools:scanBam
and processes the list result into a data.table.
1 2 3 4 5 6 7 8 | cnvReadBam(
bamfile,
which,
what = scanBamWhat(),
flag = scanBamFlag(),
tags = NULL,
keyby = NULL
)
|
bamfile |
Character of length 1, the file path to the .bam file |
which |
IRangesList or GRanges object, the range of sequences to load, passed to Rsamtools::ScanBamParam 'which' parameter; loads all sequences when omitted |
what |
Character, the fields to extract from the bam file, passed to Rsamtools::ScanBamParam 'what' parameter |
tags |
Character, the tag fields to extract from the bam file, passed to Rsamtools::ScanBamParam 'tags' parameter |
keyby |
Character, the field to key the data.table by |
data.table object with specified fields & tags extracted from .bam file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.