Plot Small Insertions and Deletions (ID) counts for a set of given patients.
patientsIDPlot(
id_data_counts,
samples = rownames(id_data_counts),
freq = FALSE,
xlabels = FALSE
)
Arguments
- id_data_counts
Small Insertions and Deletions counts matrix.
- samples
Name of the samples. This should match a rownames in id_data_counts
- freq
Boolean value; shall I display rates instead of counts?
- xlabels
Boolean value; shall I display x labels?
Examples
data(plot_data_examples)
counts <- plot_data_examples[['patients.ID.plot']][['counts']]
patientsIDPlot(id_data_counts=counts,samples=rownames(counts)[seq_len(2)])