View source: R/Main_functions.R
average_technical_replicates | R Documentation |
Average protein intensities over technical replicates
average_technical_replicates(df, cond, log = TRUE)
df |
A data frame of protein intensities |
cond |
A data frame containing the description of df's columns (i.e "bckg", "time", "bio" and "tech")
as returned by function |
log |
use geometric mean |
A list containing :
Intensity
, a data frame of protein intensities averaged over technical replicates;
conditions
, a data frame containing the description of Intensity
's columns
#load data : data("proteinGroups_Cbl") df <- proteinGroups_Cbl cond <- identify_conditions(df) Column_intensity_pattern <- "^Intensity." df_int <- df[ , grep(Column_intensity_pattern, colnames(df))] avg <- average_technical_replicates(df_int, cond)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.