R/plotMutationHeatmap.R
plotMutationHeatmap.Rd
Plots a heatamp of mutation prevalence across particular lineages.
plotMutationHeatmap(df, gene2Plot = "S", title = NULL, lightBorders = TRUE)
Resulting dataframe from calling getMutationsByLineage
(optional) string containing which genes to include, e.g. "Orf1a" By default, will limit the mutations to those in the S-gene.
(optional) title to add to the plot
(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)
#> Retrieving data...
plotMutationHeatmap(p1, gene2Plot = "ORF1a")