Description Usage Arguments Value Author(s) Examples
This function creates loads an annotation element from
the local annotation database to be used with metaseqr2.
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.
1 2 3 4 5 6 | loadAnnotation(genome, refdb,
level = c("gene", "transcript", "exon"),
type = c("gene", "exon", "utr"), version="auto",
db = file.path(system.file(package = "metaseqR2"),
"annotation.sqlite"), summarized = FALSE,
asdf = FALSE, rc = NULL)
|
genome |
a |
refdb |
a |
level |
same as the |
type |
same as 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
1 2 3 4 5 | db <- file.path(system.file(package="metaseqR2"),
"annotation.sqlite")
if (file.exists(db))
gr <- loadAnnotation(genome="hg19",refdb="ensembl",
level="gene",type="gene",db=db)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.