Installation msqrob2

  • Install the development packages for MsCoreUtils, QFeatures, msqrob2 from github:
BiocManager::install("rformassspectrometry/MsCoreUtils")
BiocManager::install("rformassspectrometry/QFeatures")
BiocManager::install("statomics/msqrob2")
  • Check if your installation is working with the following example
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]])