Plot observed Multi-Nucleotide Variants (MNVs) counts for different groups of patients.

groupsMNVPlot(counts, groups, normalize = TRUE, xlabels = FALSE)

Arguments

counts

Matrix with Multi-Nucleotide Variants (MNVs) counts data.

groups

List where names are groups labels and elements are patients labels corresponding to rownames in counts.

normalize

Boolean value; shall I normalize observed counts?

xlabels

Boolean value; shall I display x labels?

Value

A ggplot2 object.

Examples

data(plot_data_examples)
counts <- plot_data_examples[['groups.MNV.plot']][['counts']]
groups <- plot_data_examples[['groups.MNV.plot']][['groups']]
groupsMNVPlot(counts=counts,groups=groups)