loadAnnotation | R Documentation |
This function creates loads an annotation element from
the local annotation database to be used with recoup.
If the annotation is not found and the organism is
supported, the annotation is created on the fly but not
imported in the local database. Use
buildAnnotationDatabase
for this purpose.
loadAnnotation(genome, refdb,
type = c("gene", "exon", "utr"), version="auto",
db = file.path(system.file(package = "recoup"),
"annotation.sqlite"), summarized = FALSE,
asdf = FALSE, rc = NULL)
genome |
a |
refdb |
a |
type |
one of the |
version |
same as the |
db |
same as the |
summarized |
if |
asdf |
return the result as a |
rc |
same as the |
The function returns a GenomicRanges
object with
the requested annotation.
Panagiotis Moulos
db <- file.path(system.file(package="recoup"),
"annotation.sqlite")
if (file.exists(db))
gr <- loadAnnotation(genome="hg19",refdb="ensembl",
type="gene",db=db)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.