draw.mutation.type | R Documentation |
This function is evry similar to SuppaEventPie. Here the pie is draw based on ggplot2.
draw.mutation.type(
data,
color = "jco",
colid = 2,
alpha = 0.8,
title = "",
border = "white"
)
data |
A data.frame or list object. |
color |
ggsci color palette |
colid |
If provide data.frame, column id need to be set |
alpha |
Alpha value in plot |
title |
Pie title |
border |
Border color |
ggplot2 object
draw.mutation.type(res$Func.refGene, title = "# of mutation")
or draw.mutation.type(res, col = 6, title = "# of mutation")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.