Plot observed Copy Number (Reduced, CX) counts for different groups of patients.

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

Arguments

counts

Matrix with Copy Number (Reduced, CX) 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.CX.plot']][['counts']]
groups <- plot_data_examples[['groups.CX.plot']][['groups']]
groupsCXPlot(counts=counts,groups=groups)