Plot Single Base Substitutions (SBS) counts for a set of given patients.
patientsSBSPlot(
trinucleotides_counts,
samples = rownames(trinucleotides_counts),
freq = FALSE,
xlabels = FALSE
)
Arguments
- trinucleotides_counts
Trinucleotides counts matrix.
- samples
Name of the samples. This should match a rownames in trinucleotides_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.SBS.plot']][['counts']]
patientsSBSPlot(trinucleotides_counts=counts,samples=rownames(counts)[seq_len(2)])