MaxQtoMSstatsPTMFormat: Convert output of TMT labeled MaxQuant experiment into...

Description Usage Arguments Value Examples

View source: R/MaxQtoMSstatsPTMFormat.R

Description

Takes as input TMT experiments from MaxQ and converts the data into the format needed for MSstatsPTM. Requires only the modified file from MaxQ (for example Phospho(STY)Sites) and an annotation file for PTM data. To adjust modified peptides for changes in global protein level, unmodified TMT experimental data must also be returned.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
MaxQtoMSstatsPTMFormat(
  sites.data,
  annotation,
  evidence = NULL,
  proteinGroups = NULL,
  mod.num = "Single",
  keyword = "phos",
  which.proteinid.ptm = "Protein",
  which.proteinid.protein = "Leading.razor.protein",
  removeMpeptides = FALSE
)

Arguments

sites.data

modified peptide output from MaxQuant. For example, a phosphorylation experiment would require the Phospho(STY)Sites.txt file

annotation

data frame which contains column Run, Fraction, TechRepMixture, Mixture, Channel, BioReplicate, Condition.

evidence

for global protein dataset. name of 'evidence.txt' data, which includes feature-level data.

proteinGroups

for global protein dataset, name of 'proteinGroups.txt' data.

mod.num

For modified peptide dataset. The number modifications per peptide to be used. If "Single", only peptides with one modification will be used. Otherwise "Total" can be selected which does not cap the number of modifications per peptide. "Single" is the default. Selecting "Total" may confound the effect of different modifications.

keyword

the sub-name of columns in the sites.data file. For phosphorylation data, this value should be "phos". The default is "phos".

which.proteinid.ptm

For PTM dataset, which column to use for protein name. Use 'Proteins'(default) column for protein name. 'Leading.proteins' or 'Leading.razor.protein' or 'Gene.names' can be used instead to get the protein ID with single protein. However, those can potentially have the shared peptides.

which.proteinid.protein

For Protein dataset, which column to use for protein name. Same options as above.

removeMpeptides

If Oxidation (M) modifications should be removed. Default is TRUE.

Value

a list of two data.tables named 'PTM' and 'PROTEIN' in the format required by MSstatsPTM.

Examples

1
2

devonjkohler/MSstatsPTM documentation built on Dec. 19, 2021, 11:01 p.m.