-
Notifications
You must be signed in to change notification settings - Fork 0
/
installation.qmd
38 lines (27 loc) · 886 Bytes
/
installation.qmd
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
---
title: "Installation"
author: Luis Valente
---
## Install required software:
- [R](https://www.r-project.org)
- [Rstudio](https://posit.co)
- [Figtree](https://github.com/rambaut/figtree/releases)
## Install required R packages
Open and run this script in Rstudio. This should install all required R packages (**may take a while!**).
```{r install, eval=F}
install.packages('DAISIE',dependencies = TRUE)
install.packages('DAISIEprep',dependencies = TRUE)
install.packages('ape',dependencies = TRUE)
```
**If you run into problems with 'ggtree' package.** Make sure you have the latest version of R, then use:
```{r installgg, eval=F}
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("ggtree")
```
Check if packages load correctly
```{r load, eval=F}
library(DAISIE)
library(ape)
library(DAISIEprep)
```