Description Usage Arguments Details See Also Examples
plot mutation spectrum.
1 |
d |
A matrix with sample as row name and mutation category as columan name. |
frequency |
Plot the number of mutation instead of fraction. |
col |
Color scheme for mutation spectrum. |
cex.tck |
|
show.smp.name |
if FALSE, does not show sample name. |
pdffig |
file name of figure to be saved. |
... |
Additional parameters passed to barplot, e.g. main, ylab. |
Set border=NA
to omit bar border entirely.
1 2 3 4 5 | library(RColorBrewer)
library(lxctk)
data("muSpec")
plot.spectra(muSpec8, frequency=TRUE, ylab="Number of mutations", main="Mutation Spectra")
plot.spectra(muSpec8, frequency=FALSE, ylab="Mutation type fraction(%)", main="Mutation Spectra")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.