Description Usage Arguments Value Examples
Converts a gff formated data.frame into a GenomicRanges object. The GenomicRanges object needs to be properly formated for the function to work.
1 | gffToGRanges(gff.file, filter = NULL, zero.based = FALSE, ensembl = FALSE)
|
gff.file |
path to a gff formatted file.
The file can end in |
filter |
a character designating which elements to retain from the gff file (e.g. exon, CDS, ...) |
zero.based |
|
ensembl |
|
returns a GenomicRanges
object
1 2 | gff.file = system.file('extdata/chr21.refseq.hg19.gtf', package='genomation')
gff = gffToGRanges(gff.file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.