Learn R Programming

parsemsf (version 0.1.1)

merge_top_peptides: Average areas of top three peptides from multiple technical replicates

Description

Takes a data frame containing peptide information for a single protein group and several technical replicates and averages the most abundant peptides (by area) across all replicates. By default, this function takes the averages across the top three peptides. This function will also optionally match peptides across replicates so only matching peptides are averaged together.

Usage

merge_top_peptides(df, num_reps, match_peps = TRUE)

Arguments

df

A data frame generated from make_area_table for a single protein group with the column tech_rep to indicate the technical replicate

num_reps

numeric Number of technical replicates being combined

match_peps

boolean Should we only quantitate based on peptides present in all replicates?

Value

A data frame that corresponds to a single protein group.

area_mean

average peptide area

area_sd

peptide area standard deviation

peps_per_rep

number of peptides per technical replicate used to calculate area_mean and area_sd. This is typically 3, but may be less.

Examples

Run this code
# NOT RUN {
merge_top_peptides(df, 2, match_peps = T)
# }

Run the code above in your browser using DataLab