volcanoDIA: volcanoDIA

View source: R/volcanoDIA.R

volcanoDIAR Documentation

volcanoDIA

Description

Plot volcano plot from your DIA data

Usage

volcanoDIA(
  data,
  control,
  treated,
  id = NULL,
  transformation = c("none", "log2"),
  tit = "",
  FDR = 0.01,
  FC_cut = 2.5,
  curvature = 0.1,
  save_file = FALSE
)

Arguments

data

Processed data from DIAnn (from iq processing or diann_matrix for example)

control

The names of the controls in your data (needs to match column names in your data)

treated

The names of the treated in your data (needs to match column names in your data)

id

A character indicating the name of the coulumns that conatins the ids. If NULL, will check for the column named 'id' or the rownames.

transformation

Which transformation do you want to apply (log2 or none)

tit

Title of your plot

FDR

The FDR for the volcano plot

FC_cut

The fold-change cutoff

curvature

The curvature used for the curve on the volcano plot

save_file

Save results file

Value

A volcano plot


mgerault/DIAgui documentation built on Nov. 7, 2024, 12:12 a.m.