bam2GRanges | R Documentation |
Import aligned reads from a BAM file into a GRanges
object.
bam2GRanges(
bamfile,
bamindex = bamfile,
region = NULL,
pairedEndReads = FALSE,
remove.duplicate.reads = TRUE,
min.mapq = 10,
filterAltAlign = TRUE
)
bamfile |
Bamfile with aligned reads. |
bamindex |
Bam-index file with or without the .bai ending. If this file does not exist it will be created and a warning is issued. |
region |
If only a subset of the genomic regions should be loaded. |
pairedEndReads |
Set to |
remove.duplicate.reads |
A logical indicating whether or not duplicate reads should be kept. |
min.mapq |
Minimum mapping quality when importing from BAM files. |
filterAltAlign |
Set to |
David Porubsky
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.