Description Usage Arguments Value Examples
View source: R/groupComparisonTMTPTM.R
Takes summarized PTM data from proteinSummarization and models with groupComparisonTMT. Can also take protein level data in the same format and model with groupComparisonTMT. Including protein data allows for adjusting PTM Fold Change by the change in protein abundance without modification.
1 2 3 4 5 6 7 | groupComparisonTMTPTM(
data.ptm,
data.protein = NULL,
contrast.matrix = "pairwise",
moderated = FALSE,
adj.method = "BH"
)
|
data.ptm |
Name of the output of the MSstatsTMT
|
data.protein |
Protein dataset returned by the MSstatsTMT
|
contrast.matrix |
Comparison between conditions of interests. 1) default is 'pairwise', which compare all possible pairs between two conditions. 2) Otherwise, users can specify the comparisons of interest. Based on the levels of conditions, specify 1 or -1 to the conditions of interests and 0 otherwise. The levels of conditions are sorted alphabetically. |
moderated |
TRUE will moderate t statistic; FALSE (default) uses ordinary t statistic. |
adj.method |
Adjusted method for multiple comparison. "BH" is default. |
A list models
of all modeled and adjusted datasets
1 2 3 4 5 6 7 8 9 10 | # Load summarized datasets from MSstatsTMT proteinSummarization function
data(quant.msstats.ptm)
data(quant.msstats.protein)
# Load specific contrast matrix
data(example.contrast.matrix)
model.results.contrast <- groupComparisonTMTPTM(data.ptm=quant.msstats.ptm,
data.protein=quant.msstats.protein,
contrast.matrix = example.contrast.matrix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.