ratio_sd: Standard deviation of a ratio of two means

Description Usage Arguments Examples

Description

creates a vector with the sd of the ratio for each peptide using a Taylor Expansion to get the sd of the ratio of two means

Usage

1
ratio_sd(dat, ratio, sd1, med1, sd2, med2)

Arguments

dat

a data frame with peptide level data as rows and samples in columns

ratio

character string of ratio column name

sd1

character string of sd of group1 column name

med1

character string of average of group1 column name

sd2

character string of sd of group2 column name

med2

character string of average of group2 column name

Examples

1
2
df$ratio_sd <- ratio_sd(df, "ratio", "group1_sd",
                        "group1_med", "ctrl_sd", "ctrl_med")

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