plot_snp_heatmap: Create the SNP heatmap

Description Usage Arguments

View source: R/plot_snp_heatmap.R

Description

A function to create the SNP heatmap for the nCoV samples used in conjunction with the phylogenetic tree.

Usage

1
plot_snp_heatmap(alleles = NULL, tip.order = NULL, nucleotides = c("A", "C", "G", "T", "N"), colors = c("blue", "red", "green3", "purple3", "lightgrey"))

Arguments

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"))


rdeborja/ncov.tools.r documentation built on May 17, 2020, 5:31 p.m.