groupComparisonTMT.Rd
Tests for significant changes in protein abundance across conditions based on a family of linear mixed-effects models in TMT experiment. Experimental design of case-control study (patients are not repeatedly measured) is automatically determined based on proper statistical model.
groupComparisonTMT( data, contrast.matrix = "pairwise", moderated = FALSE, adj.method = "BH", remove_norm_channel = TRUE, remove_empty_channel = TRUE )
data | Name of the output of |
---|---|
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. |
remove_norm_channel | TRUE(default) removes 'Norm' channels from protein level data. |
remove_empty_channel | TRUE(default) removes 'Empty' channels from protein level data. |
data.frame with result of inference
data(input.pd) # use protein.summarization() to get protein abundance data quant.pd.msstats <- proteinSummarization(input.pd, method="msstats", global_norm=TRUE, reference_norm=TRUE)#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 4-29 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 3-33 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 3-29 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 1-28 #> # of Transitions/Peptide 1-1#> #>#> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 1-30 #> # of Transitions/Peptide 1-1#> #>#> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 2-30 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 4-31 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 3-30 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 5-30 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 3-31 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 3-31 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 1-31 #> # of Transitions/Peptide 1-1#> #>#> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 3-34 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 2-30 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#> #> Summary of Features : #> count #> # of Protein 10 #> # of Peptides/Protein 5-32 #> # of Transitions/Peptide 1-1 #> #> Summary of Samples : #> 0.125 0.5 0.667 1 Norm #> # of MS runs 2 2 2 2 2 #> # of Biological Replicates 1 1 1 1 1 #> # of Technical Replicates 2 2 2 2 2#> #>#>#>#> #>#> #>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> #>#>#>#>#>#>#>#>#>#>#>#>test.pairwise <- groupComparisonTMT(quant.pd.msstats, moderated = TRUE)#>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#> [1] "0.125" "0.5" "0.667" "1"# Compare condition 1 and 0.125 comparison<-matrix(c(-1,0,0,1),nrow=1) # Set the nafmes of each row row.names(comparison)<-"1-0.125" # Set the column names colnames(comparison)<- c("0.125", "0.5", "0.667", "1") test.contrast <- groupComparisonTMT(data = quant.pd.msstats, contrast.matrix = comparison, moderated = TRUE)#>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%#>#> | | | 0% | |======= | 10% | |============== | 20% | |===================== | 30% | |============================ | 40% | |=================================== | 50% | |========================================== | 60% | |================================================= | 70% | |======================================================== | 80% | |=============================================================== | 90% | |======================================================================| 100%