PlotPeaks2Paths: PlotPeaks2Paths

View source: R/peaks_to_function.R

PlotPeaks2PathsR Documentation

PlotPeaks2Paths

Description

Plots either the original mummichog or GSEA results.

Usage

PlotPeaks2Paths(
  mSetObj = NA,
  imgName = "",
  format = "png",
  dpi = 72,
  width = 9,
  labels = "default",
  num_annot = 5,
  interactive = F
)

Arguments

mSetObj

Input the name of the created mSetObj object

imgName

Input a name for the plot

format

Character, 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.

labels

Character, indicate if the plot should be labeled. By default it is set to "default", and the 5 top-ranked pathways per each algorithm will be plotted. Users can adjust the number of pathways to be annotated per pathway using the "num_annot" parameter.

num_annot

number of annotations for top plotting

Author(s)

Jasmine Chong, Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


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