rm_outliers: Remove outliers in peptide data

Description Usage Arguments Examples

Description

Creates a new data frame with the outliers from original data frame removed. Outliers are defined as ratios

Usage

1
rm_outliers(dat, pro_df, ratio, mult = 2)

Arguments

dat

a data frame

pro_df

a data fram containing average ratio of each protein

ratio

a character string of the column name of the ratio used to find outliers

mult

multiplier of the sd used to determine the min and max allowable ratio for each peptide, defaults to 2

Examples

1
data_rm_out <- rm_outliers(df, pro_df, "ratio")

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