Skip to content

Commit

Permalink
Update installation script
Browse files Browse the repository at this point in the history
adrientaudiere authored Dec 6, 2023
1 parent 9e397fa commit bbaf87e
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -36,22 +36,40 @@ heavily on the R packages

## Installation

There is no CRAN or bioconductor version of MiscMetabar for now (work in
progress).
There is no CRAN version of MiscMetabar for now (work in
progress). As MiscMetabar heavily relies on two bioconductor packages
(dada and phyloseq), we need to first install those 2 packages using
BiocManager.

You can install the stable version from [GitHub](https://github.com/)
with:

``` r
install.packages("devtools")
if (!require("BiocManager", quietly = TRUE)){
install.packages("BiocManager")
}
BiocManager::install("dada2")
BiocManager::install("phyloseq")

if (!require("devtools", quietly = TRUE)){
install.packages("devtools")
}
devtools::install_github("adrientaudiere/MiscMetabar")
```

You can install the developement version from
[GitHub](https://github.com/) with:

``` r
install.packages("devtools")
if (!require("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("dada2")
BiocManager::install("phyloseq")

if (!require("devtools", quietly = TRUE)){
install.packages("devtools")
}
devtools::install_github("adrientaudiere/MiscMetabar", ref = "dev")
```

0 comments on commit bbaf87e

Please sign in to comment.