View source: R/MSstatsConvert_core_functions.R
MSstatsMakeAnnotation | R Documentation |
Create annotation
MSstatsMakeAnnotation(input, annotation, ...)
input |
data.table preprocessed by the MSstatsClean function |
annotation |
data.table |
... |
key-value pairs, where keys are names of columns of |
data.table
evidence_path = system.file("tinytest/raw_data/MaxQuant/mq_ev.csv",
package = "MSstatsConvert")
pg_path = system.file("tinytest/raw_data/MaxQuant/mq_pg.csv",
package = "MSstatsConvert")
evidence = read.csv(evidence_path)
pg = read.csv(pg_path)
imported = MSstatsImport(list(evidence = evidence, protein_groups = pg),
"MSstats", "MaxQuant")
cleaned_data = MSstatsClean(imported, protein_id_col = "Proteins")
annot_path = system.file("tinytest/raw_data/MaxQuant/annotation.csv",
package = "MSstatsConvert")
mq_annot = MSstatsMakeAnnotation(cleaned_data, read.csv(annot_path),
Run = "Rawfile")
head(mq_annot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.