patients.plot {SparseSignatures} | R Documentation |
Plot trinucleotides counts for a set of given patients.
patients.plot( trinucleotides_counts, samples = rownames(trinucleotides_counts), freq = FALSE, xlabels = FALSE )
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? |
A ggplot2 object.
data(patients) patients.plot(trinucleotides_counts=patients,samples=c("PD10010a","PD10011a","PD10014a"))