SetPlotParam: SetPlotParam

View source: R/Spectra_visulization.R

SetPlotParamR Documentation

SetPlotParam

Description

This function sets the generic Plotting Parameters for different functions

Usage

SetPlotParam(
  Plot = FALSE,
  labels = TRUE,
  format = "png",
  dpi = 72,
  width = 9,
  ...
)

Arguments

Plot

Logical, if true, the function will plot internal figures for different functions.

labels

Logical, if true, the labels in the plot will be added.

format

Numeric, input the format of the image to create.

dpi

Numeric, input the dpi of the image to create.

width

Numeric, input the width of the image to create.

...

Other specific parameters for specific function. Please set them according to the corresponding function.

Value

will return a plotting parameters set

Author(s)

Zhiqiang Pang zhiqiang.pang@mail.mcgill.ca, and Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)

Examples

SetPlotParam(Plot = TRUE, dpi = 144, width = 12)

xia-lab/OptiLCMS documentation built on Nov. 26, 2024, 3:50 a.m.