merge_protein_replicates: Merge Protein Replicates

Description Usage Arguments Value Examples

View source: R/proteome_tools.R

Description

This function merges replicate samples from proteomic data

Usage

1
merge_protein_replicates(ps, repID, minAbund = 10, maxZeros = 0.5)

Arguments

ps

A phyloseq object that contains a variable in sample_data denoting which samples are replicates of one another.

repID

A column in the sample_data that identifies which samples are replicates of each other and should be merged. All replicates should have the same value in this column.

minAbund

(optional) A column in the sample_data specifying which samples are replicates to be merged. This is the minimum value a protein in a set of replicates has to have for it to be considered "real" Default value = 10.

maxZeros

A column in the sample_data specifying which samples are replicates to be merged. Default value = 0.5

Value

This function returns the input phyloseq object with the sample replicates merged.

Examples

1
ps <- merge_protein_replicates(ps, repID="Subject_ID", minAbund=10, maxZeros = 0.5)

DanielSprockett/reltools documentation built on May 5, 2019, 12:27 p.m.