View source: R/plotMutationHeatmap.R
plotMutationHeatmap | R Documentation |
Plots a heatamp of mutation prevalence across particular lineages.
plotMutationHeatmap(df, gene2Plot = "S", title = NULL, lightBorders = TRUE)
df |
Resulting dataframe from calling getMutationsByLineage |
gene2Plot |
(optional) string containing which genes to include, e.g. "Orf1a" By default, will limit the mutations to those in the S-gene. |
title |
(optional) title to add to the plot |
lightBorders |
(optional) boolean; whether the borders between grid items should be separated with a light or dark border. |
p1 = getMutationsByLineage(pangolin_lineage = "P.1", frequency = 0.5) plotMutationHeatmap(p1, gene2Plot = "ORF1a")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.