Description Usage Arguments Value Examples
View source: R/visualizeGene.R
Draws a gray rectangle on an R plot environment to represent the full length of the gene. x-axis labels are the position numbers of the gene's cDNA. On top of the rectangle, vertical coloured line segments represent positions on which SNPs are found – the degree of redness is a heatmap colour mapping that depicts its relative frequency.
1 | visualizeGene(gene)
|
gene |
An S3 object of class Gene. The gene to be visualized. See |
Produces an R graphic visualization of the given gene.
1 2 | gene <- initializeGene("Potri.001G345300.1.v3.0", snpPositions)
visualizeGene(gene)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.