View source: R/plot_snp_heatmap.R
A function to create the SNP heatmap for the nCoV samples used in conjunction with the phylogenetic tree.
1 |
alleles |
A dataframe containing samples analyzed and the alternate alleles along with their position along the genome. |
tip.order |
A vector containing the order of the samples according to the phylogenetic tree |
nucleotides |
A vector containing the bases and their order (default: c("A", "C", "G", "T", "N")) |
colors |
A vector of colors corresponding to the nucleotide labels (default: c("blue", "red", "green3", "purple3", "lightgrey")) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.