Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/heatmapByChromosome.R
Build annotation tracks for visualizing using Gviz package
1 2 |
gene |
An Entrez gene id or a GRanges object with length equals one |
extendRange |
extended range on each side of the gene |
includeGeneBody |
whether to include genebody of the provided gene |
cytobandInfo |
cytoband information. Set NA to suppress it. |
CpGInfo |
CpG-island information, GRanges or bed file are supported |
genomeAxis |
whether to add genome axis or not |
lib |
gene annotation library |
genome |
genome version |
genomicFeature |
genomic features: "TxDb" library or object, "Mart" object |
selectTranscripts |
selected transcripts to show in the annotation track. If it is NULL, all transcripts will be shown. |
... |
other parameters used by createTranscriptTrack function |
This function aims to build annotation tracks to be visualized using Gviz package. If the cytobandInfo and CpGInfo are NULL and internet connection is available, it will download information directly from UCSC website. Set them as NAs if you want suppress this default behavior.
A list of different annotation Tracks
Pan Du
1 2 3 | if (require(TxDb.Hsapiens.UCSC.hg19.knownGene) && require(Gviz)) {
annotationTracks <- buildAnnotationTracks('1826', includeGeneBody = FALSE, genomicFeature = "TxDb.Hsapiens.UCSC.hg19.knownGene")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.