PlotVolcano: Create volcano plot

View source: R/stats_univariates.R

PlotVolcanoR Documentation

Create volcano plot

Description

For labelling interesting points, it is defined by the following rules: need to be signficant (sig.inx) and or 2. top 5 p, or 2. top 5 left, or 3. top 5 right.

Usage

PlotVolcano(mSetObj=NA, imgName, plotLbl, plotTheme, format="png", dpi=72, width=NA)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects)

imgName

Input a name for the plot

plotLbl

Logical, plot labels, 1 for yes and 0 for no.

plotTheme

plotTheme, numeric, canbe 0, 1 or 2

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

Input the width, there are 2 default widths, the first, width = NULL, is 10.5. The second default is width = 0, where the width is 7.2. Otherwise users can input their own width.

Author(s)

Jeff Xiajeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR documentation built on April 20, 2024, 8:13 p.m.