View source: R/preprocess_hlpFunctions.R
pasteAnnotation | R Documentation |
This function adds extra columns to a data frame in "long" format (i.e. the data frame has one observation row per measurement (thus, multiple rows per subject)) based on either a path to an annotation file or an annotation data frame.
pasteAnnotation(df, run_col, run_col_annot, pData)
df |
A data frame in "long" format to which extra annotation columns need to be added. |
run_col |
A character indicating the column in the data frame |
run_col_annot |
A character indicating the column in the annotation data frame |
pData |
A data frame containing the experiment annotation. Exactly one colum in the experiment annotation should contain the mass spec run names. |
A data frame to which the annotations are left-joined.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.