Description Usage Arguments Details Value Author(s) References Examples
Make pie chart and bar plot based on the given data frame.
1 | chartPlots(x, chartType = c("pieChart", "barPlot", "all"), specifiedCols = c("genes in Category"), top = 5, newWindow=TRUE, ...)
|
x |
a data frame to be used for pie chart and box plot |
chartType |
plot type, "pieChart", "barPlot" or both could be specified. |
specifiedCols |
the column will be used to be represented. |
top |
number to specify how many first categories will be drawn. |
newWindow |
logic, determine whether draw on a new canvas. |
... |
additional arguments passed to piechart or barplot. |
chartType could be pie chart, bar plot or both (parameter is "all"). specifiedCols is the column that will be used to plot. It could be column name or number. If chartType is set to 'all', the barplot will be drawn on a new canvas whatever newWindow is set to TRUE or FALSE.
A pie chart and/or barplot are generated depends on specification.
Gang Feng, Pan Du and Simon Lin
Feng, G., Du, P., Krett, N., Tessel, M., Rosen, S., Kibbe, W.A. and Lin, S.M., 'A collection of bioconductor methods to visualize gene-list annotations', BMC Research Notes 2010, 3:10
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.