View source: R/bamregion2GRanges.R
bamregion2GRanges | R Documentation |
Import aligned reads from a BAM file into a GRanges
object.
bamregion2GRanges(
bamfile,
bamindex = bamfile,
region = NULL,
pairedEndReads = FALSE,
min.mapq = 10,
filterAltAlign = TRUE
)
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 |
min.mapq |
Minimum mapping quality when importing from BAM files. |
file |
Bamfile with aligned reads. |
Aaron Taudt, David Porubsky, Ashley Sanders
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.