Skip to content

Commit

Permalink
doc: update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stefpeschel committed Nov 7, 2024
1 parent 46cd585 commit 99b4722
Show file tree
Hide file tree
Showing 30 changed files with 102 additions and 3,079 deletions.
13 changes: 7 additions & 6 deletions index.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
output: github_document
bibliography: references.bib
link-citations: true
nocite: |
@peschel2020netcomi
---

```{r setup, echo = FALSE}
Expand All @@ -24,7 +27,7 @@ With NetCoMi, users can construct microbial association or dissimilarity network

The package supports both the construction, analysis, and visualization of a **single network** and the **comparison of two networks** through graphical and quantitative approaches, including statistical testing. Additionally, NetCoMi offers the capability of constructing **differential networks**, where only differentially associated taxa are connected.

<img src="man/figures/soilrep_networks.png" width="800" />
<img src="man/figures/soilrep_networks.png" width=100% />

> Exemplary network comparison using soil microbiome data (['soilrep' data from
phyloseq package](https://github.com/joey711/phyloseq/blob/master/data/soilrep.RData)).
Expand Down Expand Up @@ -96,14 +99,13 @@ TSS, CSS, COM, VST, and the clr transformation are described in [@badri2020shrin
install.packages("devtools")
install.packages("BiocManager")
# Since two of NetCoMi's dependencies are only available on GitHub, it is
# recommended to install them first:
# Since two of NetCoMi's dependencies are only available on GitHub,
# it is recommended to install them first:
devtools::install_github("zdk123/SpiecEasi")
devtools::install_github("GraceYoon/SPRING")
# Install NetCoMi
devtools::install_github("stefpeschel/NetCoMi",
dependencies = c("Depends", "Imports", "LinkingTo"),
repos = c("https://cloud.r-project.org/",
BiocManager::repositories()))
```
Expand All @@ -114,7 +116,7 @@ dependencies manually.
Packages that are optionally required in certain settings are not installed
together with NetCoMi. These can be installed automatically using:

```{r install3, eval=FALSE}
```{r install2, eval=FALSE}
installNetCoMiPacks()
```

Expand All @@ -141,7 +143,6 @@ is invited to install NetCoMi's development version:
```{r install4, eval=FALSE}
devtools::install_github("stefpeschel/NetCoMi",
ref = "develop",
dependencies = c("Depends", "Imports", "LinkingTo"),
repos = c("https://cloud.r-project.org/",
BiocManager::repositories()))
```
Expand Down
24 changes: 16 additions & 8 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Additionally, NetCoMi offers the capability of constructing
**differential networks**, where only differentially associated taxa are
connected.

<img src="man/figures/soilrep_networks.png" width="800" />
<img src="man/figures/soilrep_networks.png" width=100% />

> Exemplary network comparison using soil microbiome data ([‘soilrep’
> data from phyloseq
Expand Down Expand Up @@ -97,7 +97,7 @@ together with some information on their implementation in R:
[`KLD()`](https://rdrr.io/cran/LaplacesDemon/man/KLD.html) from
`LaplacesDemon` package)
- Compositional KLD (own implementation following Martin-Fernández et
al. (1999))
al. ([1999](#ref-martin1999measure)))
- Aitchison distance
([`vegdist()`](https://www.rdocumentation.org/packages/vegan/versions/2.4-2/topics/vegdist)
and [`clr()`](https://rdrr.io/github/zdk123/SpiecEasi/man/clr.html)
Expand Down Expand Up @@ -131,8 +131,8 @@ together with some information on their implementation in R:
([`clr()`](https://rdrr.io/github/zdk123/SpiecEasi/man/clr.html) from
`SpiecEasi` package))

TSS, CSS, COM, VST, and the clr transformation are described in (Badri
et al. 2020).
TSS, CSS, COM, VST, and the clr transformation are described in ([Badri
et al. 2020](#ref-badri2020shrinkage)).

## Installation

Expand All @@ -141,14 +141,13 @@ et al. 2020).
install.packages("devtools")
install.packages("BiocManager")

# Since two of NetCoMi's dependencies are only available on GitHub, it is
# recommended to install them first:
# Since two of NetCoMi's dependencies are only available on GitHub,
# it is recommended to install them first:
devtools::install_github("zdk123/SpiecEasi")
devtools::install_github("GraceYoon/SPRING")

# Install NetCoMi
devtools::install_github("stefpeschel/NetCoMi",
dependencies = c("Depends", "Imports", "LinkingTo"),
repos = c("https://cloud.r-project.org/",
BiocManager::repositories()))
```
Expand Down Expand Up @@ -187,7 +186,6 @@ invited to install NetCoMi’s development version:
``` r
devtools::install_github("stefpeschel/NetCoMi",
ref = "develop",
dependencies = c("Depends", "Imports", "LinkingTo"),
repos = c("https://cloud.r-project.org/",
BiocManager::repositories()))
```
Expand Down Expand Up @@ -218,4 +216,14 @@ Based on Measures of Divergence.” In *Proceedings of IAMG*, 99:211–16.

</div>

<div id="ref-peschel2020netcomi" class="csl-entry">

Peschel, Stefanie, Christian L Müller, Erika von Mutius, Anne-Laure
Boulesteix, and Martin Depner. 2020. “<span class="nocase">NetCoMi:
network construction and comparison for microbiome data in R</span>.”
*Briefings in Bioinformatics* 22 (4): bbaa290.
<https://doi.org/10.1093/bib/bbaa290>.

</div>

</div>
Binary file removed man/figures/readme/association_input_2-1.png
Binary file not shown.
Binary file removed man/figures/readme/association_input_3-1.png
Binary file not shown.
Binary file removed man/figures/readme/diffnet_1-1.png
Binary file not shown.
Binary file removed man/figures/readme/diffnet_3-1.png
Binary file not shown.
Binary file removed man/figures/readme/example14-1.png
Binary file not shown.
Binary file removed man/figures/readme/example15-1.png
Binary file not shown.
Binary file removed man/figures/readme/netcomp_spring_3-1.png
Binary file not shown.
Binary file removed man/figures/readme/netcomp_spring_4-1.png
Binary file not shown.
Binary file removed man/figures/readme/netcomp_spring_5-1.png
Binary file not shown.
Binary file removed man/figures/readme/netcomp_spring_6-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_genus_1-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_genus_2-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_genus_3-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_genus_5-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_pears_2-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_pears_3-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_pears_4-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_pears_5-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_pears_hist_1-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_pears_hist_2-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_pears_hist_3-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_pears_unsigned_4-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_spring_2-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_spring_3-1.png
Binary file not shown.
Binary file removed man/figures/readme/single_spring_heat-1.png
Binary file not shown.
Loading

0 comments on commit 99b4722

Please sign in to comment.