Description Usage Arguments Value Note Author(s) Examples
View source: R/getAnnotation.R
Using the GenomicFeatures
package and the UCSC
genome browser, creates a data frame of exons (one exon per
row) for the specified genome.
1 | getAnnotation(genome, tablename, genes = TRUE, verbose = TRUE)
|
genome |
Genome (species) for which annotation is
desired. A list of supported genomes can be found using
|
tablename |
UCSC table from which to download exon
information. Use |
genes |
If TRUE (as it is by default), each exon in the resulting data frame is labeled with the gene it belongs to. Gene information is not available in every table. If FALSE, each exon in the resulting data frame is labeled with the transcript it belongs to. |
verbose |
If TRUE, updates are printed on screen as annotation download progresses. |
A data frame (one row per exon) giving the exon's gene or transcript, location (start/end), and possibly other information.
This function interacts with the online UCSC Genome Browser, so internet connection is required to use this function, and connection speed affects function speed.
Alyssa Frazee
1 2 3 4 5 | ## Not run:
mouse.exons <- getAnnotation("mm9","refGene")
head(mouse.exons)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.