Description Usage Arguments Value Examples
View source: R/globalSNPprofile.R
This function is to visualize the global SNP pattern in the SARS-CoV-2 genome.
1 2 3 4 5 6 7 | globalSNPprofile(
nucmerr = nucmerr,
outdir = NULL,
figure_Type = "heatmap",
country = "global",
top = 5
)
|
nucmerr |
Mutation information containing group list(derived from "nucmer" object using "nucmerRMD" function). |
outdir |
The output directory. |
figure_Type |
Figure type for either "heatmap" or "count". |
country |
Choose a country to plot the mutational pattern or choose "global" to profile mutations across all countries. The default is "global". |
top |
The number of mutational classes to plot. |
Plot the selected figure type as output.
1 2 3 4 5 6 7 | data("nucmerr")
outdir <- tempdir()
globalSNPprofile(nucmerr = nucmerr,
outdir = outdir,
figure_Type = "heatmap",
country = "global",
top = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.