Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/heatmapByChromosome.R
Create a transcript track, which is a GeneRegionTrack object
1 2 3 |
gene |
An Entrez gene ID or a GRanges object with length equals one |
genomicFeature |
a TxDb library, TxDb object, or Mart object |
lib |
Entrez annotation library |
genome |
The version of genome |
extendRange |
extended range on each side of the gene |
includeOtherGene |
whether to include other genes in the same chromosome ranges, only useful when "gene" is a gene ID. |
includeGeneBody |
whether to include the whole gene body or not |
thinBox_utrOnly |
whether to only show UTRs as thin boxs in the plot |
background.title |
the background color of the title |
fill |
fill color for transcript track |
... |
other parameters |
This function is to create a GeneRegionTrack object for visualization using Gviz package.
a GeneRegionTrack object
Pan Du
plotTracks
, plotTracksWithDataTrackInfo
, heatmapByChromosome
, plotMethylationHeatmapByGene
1 2 3 4 | if (require(TxDb.Hsapiens.UCSC.hg19.knownGene) && require(Gviz)) {
rangeTrack <- createTranscriptTrack('7157', genomicFeature = "TxDb.Hsapiens.UCSC.hg19.knownGene")
# plotTracks(rangeTrack)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.