Description Usage Arguments Details Value Author(s) Examples
The annotation can be retrieved in two ways
biomaRtUse biomaRt and Ensembl to get organism specific annotation.
gff3/gtfUse a gff3 or gtf local annotation file.
When using biomaRt, it is
important that the organism
argument to
AnnotParam
is set the prefix of one of the value
available using the biomaRt
listDatasets
function, e.g.
"Dmelanogaster".
When reading from a gff3/gtf file, a version 3 formatted
gff or a gtf (an Ensembl defined gff2 version) is expected. The function
genomeIntervals genomeIntervals-readGff3
is
used to import the data.
1 2 | ## S4 method for signature 'AnnotParam'
getAnnotation(obj, verbose = FALSE, ...)
|
obj |
An object of class |
verbose |
a boolean to turn on verbosity |
... |
See details |
... are for additional arguments, passed to the biomaRt
getBM
function or to the
readGffGtf
internal function that takes an optional arguments: annotation.type that
default to "exon". This is used to select the proper rows of the gff or gtf
file.
A GRanges
containing the fetched
annotations.
Nicolas Delhomme
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
library("RnaSeqTutorial")
getAnnotation(
AnnotParam(
organism="Dmelanogaster",
datasource=system.file(
"extdata",
"Dmel-mRNA-exon-r5.52.gff3",
package="RnaSeqTutorial"),
type="gff3"
))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.