Description Usage Arguments Value Author(s)
View source: R/CMString_plotting.R
plot pie chart for CMS classification
1 2 |
df |
data frame with column that will be used to plot the pie chart [default: none] |
var |
string specifying which column from the supplied data frame to plot [default: "CMS.glmnet"] |
digits |
integer specifying to how many digits pie labels should be rounded [default: 1] |
main |
string specifying the title of the plot [default: ""] |
labTotalN |
boolean specifying whether the total number of samples in each category should be added in addition to the percentage [default: FALSE] |
vector with percentages of samples in each category
Robert Piskol
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.