mitoPlot | R Documentation |
Plot clone-specific variants in circular plots
mitoPlot(
variants,
patient = NULL,
genome = "hg38",
showLegend = TRUE,
showLabel = TRUE
)
variants |
Character vector of variants to plot in format 5643G>T or 5643 G>T. |
patient |
Characet vector identifying which variant belongs to what clone. The order should match that of the 'vars' parameter and shoul dbe of identical length. If none is provided, the function assumes all variants are from one single sample which will be named "Main Clone". Default: NULL. |
genome |
The mitochondrial genome of the sample being investigated. Please note that this is the UCSC standard chromosome sequence. Default: hg38. |
showLegend |
Boolean for whether or not the gene legend should be present in the final output plot. Default: TRUE. |
showLabel |
Boolean for whether or not the name of the variant should be shown as a label in the final output plot. Default: TRUE. |
A ggplot object illustrating the clone specific mutations.
known.variants <- c("9001 T>C","12345 G>A","1337 G>A")
mitoPlot(known.variants)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.