generated from statOmics/Rmd-website
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsoftware.Rmd
50 lines (40 loc) · 1.47 KB
/
software.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
title: 2. Software for Proteomics Data Analysis (PDA)
author: "Lieven Clement"
date: "[statOmics](https://statomics.github.io), Ghent University"
output:
html_document:
theme: flatly
code_download: false
toc: false
toc_float: false
number_sections: false
---
<a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a>
- Install [R version 4.1 or higher] (https://cran.r-project.org/)
- Install [Rstudio](https://www.rstudio.com/products/rstudio/download/)
- Install *msqrob2*, start R and run the following command.
```
if(!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("msqrob2")
```
- Participants who want to use the graphical user interface (GUI) can install the msqrob2gui shiny app, start R and run the following commands
```
if(!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
if(!requireNamespace("remotes", quietly = TRUE)) {
BiocManager::install("remotes")
}
BiocManager::install("statomics/msqrob2gui")
```
- 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]])
```