signatures.plot {SparseSignatures} | R Documentation |
Plot the discovered signatures.
signatures.plot(beta, useColNames = TRUE, mutation_categories = NULL, firstBackground = TRUE, xlabels = TRUE)
beta |
discovered signatures |
useColNames |
boolean value; shall I use the colnames from beta as names for the signatures? |
mutation_categories |
if useColNames is FALSE, the trinucleotides categories to be considered can be specified. An example is provided in the package and can be loaded by data(mutation_categories) |
firstBackground |
boolean value; shall I display the background signature as the first element? |
xlabels |
boolean value; shall I display x labels? |
A ggplot2 object
data(nmf_LassoK_example) beta = as.beta(nmf_LassoK_example) signatures.plot(beta=beta)