PlotEnrichPieChart | R Documentation |
This function creates a pie-chart for compound classes in the enrichment analysis if the library is based on chemical ontologies.
PlotEnrichPieChart(
mSetObj = NA,
enrichType,
imgName,
format = "png",
dpi = 72,
width = 8,
maxClass = 15,
colPal = "Set1"
)
mSetObj |
Input the name of the created mSetObj (see InitDataObjects) |
enrichType |
enrichType |
imgName |
Input a name for the plot |
format |
Select the image format, "png", or "pdf". |
dpi |
Input the dpi. If the image format is "pdf", users need not define the dpi. For "png" images, the default dpi is 72. It is suggested that for high-resolution images, select a dpi of 300. |
width |
Numeric, input the width, the default is 8. |
maxClass |
Numeric, input the maximum number of lipid classes to include in the pie-chart. By default this is set to 15. |
colPal |
Character, input the preferred R Color Brewer palette to be used for the pie chart. By default this is set to "Set1". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.