abun_ratio: Abundance ratio

Description Usage Arguments Examples

Description

Creates a vector containing the abundance ratio for each peptide

Usage

1
abun_ratio(dat, group, ctrl = "ctrl_med")

Arguments

dat

a data frame containing columns with median peptide abundances

group

column string or number (numerator of ratio)

ctrl

column string or number (demoninator of ratio) defaults to "ctrl_med"

Examples

1
df$ratio <- abun_ratio(df, "group1_med")

tsoleary/proteomixr documentation built on July 19, 2019, 8:37 a.m.