Contents

1 Comparizon

To validate our Retention Time (RT) prediction in this vignette file, we compare the predicted hydrophobicity value using the ssrc method Krokhin et al. (2004) implemented in the protViz package Panse and Grossmann (2019).

The following code snippet performs the comparison on the F255744 data. The file contains amino acid sequences representing the designed flycodes.

library(NestLink)
# load(url("http://fgcz-ms.uzh.ch/~cpanse/p1875/F255744.RData"))
# F255744 <- as.data.frame.mascot(F255744) 
# now available through ExperimentHub

library(ExperimentHub)
eh <- ExperimentHub(); 
## snapshotDate(): 2019-05-07
load(query(eh, c("NestLink", "F255744.RData"))[[1]])
## see ?NestLink and browseVignettes('NestLink') for documentation
## downloading 1 resources
## retrieving 1 resource
## loading from cache 
##     'EH2069 : 2069'
.ssrc.mascot(F255744, scores = c(10, 20, 40, 50), 
             pch = 16, 
             col = rgb(0.1,0.1,0.1,
                       alpha = 0.1)
)

## [[1]]
## 
## Call:
## lm(formula = xx.ssrc ~ xx$RTINSECONDS)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -38.954  -2.248   0.015   2.228  71.167 
## 
## Coefficients:
##                  Estimate Std. Error t value Pr(>|t|)    
## (Intercept)    -5.580e+00  2.030e-01  -27.48   <2e-16 ***
## xx$RTINSECONDS  8.849e-03  7.434e-05  119.04   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 5.884 on 12295 degrees of freedom
## Multiple R-squared:  0.5354, Adjusted R-squared:  0.5354 
## F-statistic: 1.417e+04 on 1 and 12295 DF,  p-value: < 2.2e-16
## 
## 
## [[2]]
## 
## Call:
## lm(formula = xx.ssrc ~ xx$RTINSECONDS)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -37.387  -2.040  -0.042   1.930  46.035 
## 
## Coefficients:
##                  Estimate Std. Error t value Pr(>|t|)    
## (Intercept)    -6.976e+00  1.621e-01  -43.03   <2e-16 ***
## xx$RTINSECONDS  9.447e-03  6.018e-05  156.99   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 4.12 on 9835 degrees of freedom
## Multiple R-squared:  0.7148, Adjusted R-squared:  0.7147 
## F-statistic: 2.464e+04 on 1 and 9835 DF,  p-value: < 2.2e-16
## 
## 
## [[3]]
## 
## Call:
## lm(formula = xx.ssrc ~ xx$RTINSECONDS)
## 
## Residuals:
##     Min      1Q  Median      3Q     Max 
## -15.260  -1.963  -0.114   1.735  45.342 
## 
## Coefficients:
##                  Estimate Std. Error t value Pr(>|t|)    
## (Intercept)    -7.690e+00  1.784e-01  -43.11   <2e-16 ***
## xx$RTINSECONDS  9.781e-03  6.724e-05  145.46   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 3.506 on 5574 degrees of freedom
## Multiple R-squared:  0.7915, Adjusted R-squared:  0.7915 
## F-statistic: 2.116e+04 on 1 and 5574 DF,  p-value: < 2.2e-16
## 
## 
## [[4]]
## 
## Call:
## lm(formula = xx.ssrc ~ xx$RTINSECONDS)
## 
## Residuals:
##    Min     1Q Median     3Q    Max 
## -9.570 -2.019 -0.142  1.754 45.200 
## 
## Coefficients:
##                  Estimate Std. Error t value Pr(>|t|)    
## (Intercept)    -7.827e+00  2.173e-01  -36.02   <2e-16 ***
## xx$RTINSECONDS  9.848e-03  8.271e-05  119.06   <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## 
## Residual standard error: 3.579 on 3650 degrees of freedom
## Multiple R-squared:  0.7952, Adjusted R-squared:  0.7952 
## F-statistic: 1.418e+04 on 1 and 3650 DF,  p-value: < 2.2e-16

2 Session info

Here is the output of the sessionInfo() command.

## R version 3.6.0 (2019-04-26)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 18.04.2 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.10-bioc/R/lib/libRblas.so
## LAPACK: /home/biocbuild/bbs-3.10-bioc/R/lib/libRlapack.so
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=C              
##  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
##  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
##  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
## 
## attached base packages:
## [1] stats4    parallel  stats     graphics  grDevices utils     datasets 
## [8] methods   base     
## 
## other attached packages:
##  [1] scales_1.0.0                ggplot2_3.1.1              
##  [3] NestLink_1.1.0              ShortRead_1.43.0           
##  [5] GenomicAlignments_1.21.1    SummarizedExperiment_1.15.0
##  [7] DelayedArray_0.11.0         matrixStats_0.54.0         
##  [9] Biobase_2.45.0              Rsamtools_2.1.2            
## [11] GenomicRanges_1.37.0        GenomeInfoDb_1.21.0        
## [13] BiocParallel_1.19.0         protViz_0.4.0              
## [15] gplots_3.0.1.1              Biostrings_2.53.0          
## [17] XVector_0.25.0              IRanges_2.19.0             
## [19] S4Vectors_0.23.0            ExperimentHub_1.11.1       
## [21] AnnotationHub_2.17.2        BiocFileCache_1.9.0        
## [23] dbplyr_1.4.0                BiocGenerics_0.31.0        
## [25] BiocStyle_2.13.0           
## 
## loaded via a namespace (and not attached):
##  [1] httr_1.4.0                    bit64_0.9-7                  
##  [3] gtools_3.8.1                  shiny_1.3.2                  
##  [5] assertthat_0.2.1              interactiveDisplayBase_1.23.0
##  [7] BiocManager_1.30.4            latticeExtra_0.6-28          
##  [9] blob_1.1.1                    GenomeInfoDbData_1.2.1       
## [11] yaml_2.2.0                    pillar_1.3.1                 
## [13] RSQLite_2.1.1                 lattice_0.20-38              
## [15] glue_1.3.1                    digest_0.6.18                
## [17] RColorBrewer_1.1-2            promises_1.0.1               
## [19] colorspace_1.4-1              plyr_1.8.4                   
## [21] htmltools_0.3.6               httpuv_1.5.1                 
## [23] Matrix_1.2-17                 pkgconfig_2.0.2              
## [25] bookdown_0.9                  zlibbioc_1.31.0              
## [27] purrr_0.3.2                   xtable_1.8-4                 
## [29] gdata_2.18.0                  later_0.8.0                  
## [31] tibble_2.1.1                  withr_2.1.2                  
## [33] lazyeval_0.2.2                magrittr_1.5                 
## [35] crayon_1.3.4                  mime_0.6                     
## [37] memoise_1.1.0                 evaluate_0.13                
## [39] hwriter_1.3.2                 tools_3.6.0                  
## [41] stringr_1.4.0                 munsell_0.5.0                
## [43] AnnotationDbi_1.47.0          compiler_3.6.0               
## [45] caTools_1.17.1.2              rlang_0.3.4                  
## [47] grid_3.6.0                    RCurl_1.95-4.12              
## [49] rappdirs_0.3.1                labeling_0.3                 
## [51] bitops_1.0-6                  rmarkdown_1.12               
## [53] gtable_0.3.0                  codetools_0.2-16             
## [55] DBI_1.0.0                     curl_3.3                     
## [57] R6_2.4.0                      knitr_1.22                   
## [59] dplyr_0.8.0.1                 bit_1.1-14                   
## [61] KernSmooth_2.23-15            stringi_1.4.3                
## [63] Rcpp_1.0.1                    tidyselect_0.2.5             
## [65] xfun_0.6

References

Krokhin, O. V., R. Craig, V. Spicer, W. Ens, K. G. Standing, R. C. Beavis, and J. A. Wilkins. 2004. “An improved model for prediction of retention times of tryptic peptides in ion pair reversed-phase HPLC: its application to protein peptide mapping by off-line HPLC-MALDI MS.” Mol. Cell Proteomics 3 (9):908–19.

Panse, Christian, and Jonas Grossmann. 2019. protViz: Visualizing and Analyzing Mass Spectrometry Related Data in Proteomics. Vienna, Austria: R Foundation for Statistical Computing. https://www.R-project.org.