Plot observed Small Insertions and Deletions (ID) counts for different groups of patients.

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

Arguments

counts

Matrix with Small Insertions and Deletions (ID) 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.ID.plot']][['counts']]
groups <- plot_data_examples[['groups.ID.plot']][['groups']]
groupsIDPlot(counts=counts,groups=groups)