data_volcano_label: Draw volcano plot with Labels

View source: R/data_analysis.R

data_volcano_labelR Documentation

Draw volcano plot with Labels

Description

Draw volcano plot with manual labels.

Usage

data_volcano_label(
  prot,
  condition1,
  condition2,
  df,
  xleft = -5,
  xright = 5,
  ydown = 0,
  ytop = 5,
  confidence = 0.95,
  s0 = 0.1,
  smooth_curve = TRUE,
  label = TRUE,
  label_list = "none"
)

Arguments

prot

A MSDataSet object.

condition1

A character of condition 1.

condition2

A character of condition 2.

df

A integer of freedom dgree.

xleft

A numeric for x-axis limit on left.

xright

A numeric for x-axis limit on right.

ydown

A numeric for x-axis limit on bottom.

ytop

A numeric for x-axis limit on top.

confidence

A numeric of confidence interval.

s0

A numeric of fudge factor s0.

smooth_curve

A boolean of significant curve or not.

label

A boolean of label or not.

label_list

A list of labels.

Details

Input dataframe from previous processing, then return a ggplot object of volcano plot.

Value

A list of dataframe and ggplot object.


yuriychen/MSAnalysiscyl documentation built on April 5, 2022, 4:28 a.m.