Description Usage Arguments Examples
Takes a data frame and performs a function on each protein group within "Master.Protein.Accessions" for specified groups of samples
1 | by_protein(dat, groups, FUN = mean)
|
dat |
a data frame with peptide level data as rows and samples in columns |
groups |
a vector of character strings or |
FUN |
function argument for tapply() defaults to mean |
1 2 | med_groups <- c("ctrl_med", "group1_med")
protein <- by_protein(df, med_groups)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.