-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
117 lines (82 loc) · 3.79 KB
/
README.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
---
output:
md_document:
variant: gfm
html_preview: false
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
# MicrobiomeAnalysis: A comprehensive R package for managing and analyzing microbiome data
```{r, echo=FALSE, results="hide", message=FALSE}
Biocpkg <- function (pkg) {
sprintf("[%s](http://bioconductor.org/packages/%s)", pkg, pkg)
}
library(conflicted)
conflicted::conflict_prefer("filter", "dplyr")
knitr::opts_chunk$set(fig.path = "inst/figures/README-")
```
This package has many unique features:
## The Overview of **MicrobiomeAnalysis**
```{r, echo=FALSE, out.width="80%", out.height="80%", dpi=600, fig.align="center", fig.cap="The Overview of MicrobiomeAnalysis"}
knitr::include_graphics("./man/figures/Schematic.png")
```
## :writing_hand: Authors
[Hua Zou](mailto:zouhua1@outlook.com)
## :arrow_double_down: Installation
Requiring the R-base version more than **4.1.0**. Some of the dependencies from CRAN or bioconductor, but others, are only obtained from github. the version of dependencies are as follows:
### dependencies in CRAN & Bioconductor
```R
install.packages("pacman")
library(pacman)
pacman::p_load(phyloseq, dplyr, tibble, Biobase, ggplot2)
```
### dependencies in github
```R
# Step 1: Install devtools
if (!requireNamespace(c("remotes", "devtools"), quietly=TRUE)) {
install.packages(c("devtools", "remotes"))
}
library(devtools)
#library(remotes)
# Step 2: install corncob package
devtools::install_github("bryandmartin/corncob")
# remotes::install_github("bryandmartin/corncob")
```
### Installing MicrobiomeAnalysis
Get the released **MicrobiomeAnalysis** packages from [here](https://github.com/HuaZou/MicrobiomeAnalysis/releases).
```r
install.packages("MicrobiomeAnalysis*.tar.gz", repos = NULL, type = "source")
```
the development version from github:
```r
devtools::install_github("HuaZou/MicrobiomeAnalysis",
dependencies = c("Depends", "Imports", "LinkingTo"),
repos = c("https://cloud.r-project.org/",
BiocManager::repositories()))
```
+ specific version
```r
devtools::install_github("HuaZou/MicrobiomeAnalysis@v1.0.3",
dependencies = c("Depends", "Imports", "LinkingTo"),
repos = c("https://cloud.r-project.org/",
BiocManager::repositories()))
```
+ specific branch
```r
devtools::install_github("HuaZou/MicrobiomeAnalysis",
dependencies = c("Depends", "Imports", "LinkingTo"),
repos = c("https://cloud.r-project.org/",
BiocManager::repositories()),
ref = "dev")
```
# :book: Vignette
Using the following command and Choosing the `html` for more details.
```R
utils::browseVignettes(package="MicrobiomeAnalysis")
```
**[the tutorial of Microbiota Data Analysis by MicrobiomeAnalysis](https://zouhua.top/MicrobiomeAnalysis_book/) made by bookdown**.
## :sparkling_heart: Contributing
Welcome any contributions or comments, and you can file them [here](https://github.com/HuaZou/MicrobiomeAnalysis/issues).
## :trophy: Acknowledgement
Thanks all the developers of the methods integrated into **MicrobiomeAnalysis**. The reference package is [microbiomeMarker](https://github.com/yiluheihei/microbiomeMarker). The R codes of differential analysis methods are almost from [microbiomeMarker](https://github.com/yiluheihei/microbiomeMarker).
## :eight_pointed_black_star: Citation
Kindly cite by using `citation("MicrobiomeAnalysis")` if you think **MicrobiomeAnalysis** helps you. Alternative way is Zou H (2022). _MicrobiomeAnalysis: An R package for analysis and visualization in metagenomics_. R package version 1.0.3, <URL:https://github.com/HuaZou/MicrobiomeAnalysis/>.