Creative Commons License

Install R and Rstudio

Install msqrob2

if(!requireNamespace("BiocManager", quietly = TRUE)) {
 install.packages("BiocManager")
}
BiocManager::install("msqrob2")
if(!requireNamespace("BiocManager", quietly = TRUE)) {
 install.packages("BiocManager")
}
if(!requireNamespace("remotes", quietly = TRUE)) {
 BiocManager::install("remotes")
}
BiocManager::install("statomics/msqrob2gui")
library(msqrob2)
data(pe)
pe <- aggregateFeatures(pe,i="peptide",fcol="Proteins",name="protein")
pe <- msqrob(pe,i="protein",formula=~condition,modelColumnName="rlm")
getCoef(rowData(pe[["protein"]])$rlm[[1]])

Install TargetDecoy for QC of decoys

if(!requireNamespace("BiocManager", quietly = TRUE)) {
 install.packages("BiocManager")
}
if(!requireNamespace("remotes", quietly = TRUE)) {
 BiocManager::install("remotes")
}
BiocManager::install("statomics/TargetDecoy")
library(TargetDecoy)
data("ModSwiss")
evalTargetDecoys(ModSwiss,"isdecoy","ms-gf:evalue")