patient.plot {SparseSignatures} | R Documentation |
Plot the counts for a patient.
patient.plot(countMatrix, patientName, xlabels = TRUE, freq = FALSE)
countMatrix |
count matrix as the one generated by the import.data function. |
patientName |
name of the patient. This should match a rowname of the countMatrix. |
xlabels |
boolean value; shall I display x labels? |
freq |
boolean value; shall I display rates instead of counts? |
A ggplot2 object
data(patients) patient.plot(countMatrix=patients,patientName="PD18775a")