Description Usage Arguments Value Examples
View source: R/MSstatsConvert_core_functions.R
Create annotation
1 | 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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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.