artmsVolcanoPlot: Volcano plot (log2fc / pvalues)

Description Usage Arguments Value Examples

View source: R/plots.R

Description

It generates a scatter-plot used to quickly identify changes

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
artmsVolcanoPlot(
  mss_results,
  output_name = "volcano_plot.pdf",
  lfc_upper = 1,
  lfc_lower = -1,
  whatPvalue = "adj.pvalue",
  FDR = 0.05,
  PDF = TRUE,
  decimal_threshold = 16,
  verbose = TRUE
)

Arguments

mss_results

(data.frame or file) Selected MSstats results

output_name

(char) Name for the output file (don't forget the .pdf extension)

lfc_upper

(numeric) log2fc upper threshold (positive value)

lfc_lower

(numeric) log2fc lower threshold (negative value)

whatPvalue

(char) pvalue or adj.pvalue (default)

FDR

(numeric) False Discovery Rate threshold

PDF

(logical) Option to generate pdf format. Default: T

decimal_threshold

(numeric) Decimal threshold for the pvalue. Default: 16 (10^-16)

verbose

(logical) TRUE (default) shows function messages

Value

(pdf) of a volcano plot

Examples

1
2
3
artmsVolcanoPlot(mss_results = artms_data_ph_msstats_results,
                  whatPvalue = "pvalue",
                  PDF = FALSE)

artMS documentation built on April 14, 2021, 6 p.m.