Description Usage Arguments Details Value Examples
fetchRefSeqGene
is used to obtain refSeq gene database provided by AnnotationHub (hg19)
or UCSC web database (hg19/hg38).
1 2 3 4 5 6 | fetchRefSeqGene(
annotation.source = c("AH", "UCSC"),
genome = c("hg19", "hg38"),
mainOnly = FALSE,
verbose = FALSE
)
|
annotation.source |
Character parameter. Specify the source of annotation databases, including
the RefSeq Gene annotation database and RepeatMasker annotation database. If |
genome |
Character parameter. Specify the build of human genome. Can be either |
mainOnly |
Logical parameter. See details. |
verbose |
Logical parameter. Should the function be verbose? |
When mainOnly = FALSE
, only the transcript location information will be returned,
Otherwise, a GRangesList
object containing gene regions
information will be added. Gene regions include: 2000 base pair upstream of the transcript
start site ($tss
)), 5'UTR ($fiveUTR
)), coding sequence ($cds
)),
exon ($exon
)), and 3'UTR ($threeUTR
)). The index
column is an internal
index that is used to facilitate data referral, which is meaningless for external use.
A single GRanges
(for main refgene data) object or a list incorporating
both GRanges
object (for main refgene data) and GRangesList
object
(for gene regions data).
1 2 3 4 5 | if (!exists("refgene.hg19"))
refgene.hg19 <- fetchRefSeqGene(annotation.source = "AH",
genome = "hg19",
verbose = TRUE)
refgene.hg19
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.