GRannot | R Documentation |
GRannot
is used to annotate a GRanges
dataset with gene region
information using refseq gene database
GRannot(object.GR, refgene, symbol = FALSE, verbose = FALSE)
object.GR |
An |
refgene |
A complete refGene annotation database returned by
|
symbol |
Logical parameter. Should the annotation return gene symbol? |
verbose |
Logical parameter. Should the function be verbose? |
The annotated gene region information includes: protein coding gene (InNM),
noncoding RNA gene (InNR), 2000 base pair upstream of the transcript start site (InTSS),
5'UTR (In5UTR), coding sequence (InCDS), exon (InExon), and 3'UTR (In3UTR). The intergenic
and intron regions can then be represented by the combination of these region data.
The number shown in these columns represent the row number or 'index' column in the
main refgene database obtained by fetchRefSeqGene
.
A GRanges
or a GRangesList
object containing refSeq
Gene database.
data(Alu.hg19.demo) if (!exists("refgene.hg19")) refgene.hg19 <- fetchRefSeqGene(annotation.source = "AH", genome = "hg19", verbose = TRUE) Alu.hg19.demo.refGene <- GRannot(Alu.hg19.demo, refgene.hg19, verbose = TRUE) Alu.hg19.demo.refGene
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.