Plot observed Copy Number (CN) counts for different groups of patients.

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

Arguments

counts

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