Skip to content

Commit

Permalink
readme rebuild 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
david-barnett committed Dec 2, 2021
1 parent 5e0112c commit 31fcbc2
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 12 deletions.
7 changes: 5 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ editor_options:

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE, comment = "#>", dev = "CairoPNG"
collapse = TRUE,
comment = "#>", dev = "CairoPNG",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

Expand Down Expand Up @@ -67,7 +70,7 @@ You can install the latest available microViz package version using the followin
install.packages("devtools")

# To install the latest "released" version of this package
devtools::install_github("david-barnett/microViz@0.8.2") # check 0.8.2 is the latest release
devtools::install_github("david-barnett/microViz@0.9.0") # check 0.9.0 is the latest release

# To install the very latest version:
devtools::install_github("david-barnett/microViz")
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ following instructions.
install.packages("devtools")

# To install the latest "released" version of this package
devtools::install_github("david-barnett/microViz@0.8.2") # check 0.8.2 is the latest release
devtools::install_github("david-barnett/microViz@0.9.0") # check 0.9.0 is the latest release

# To install the very latest version:
devtools::install_github("david-barnett/microViz")
Expand Down Expand Up @@ -188,7 +188,7 @@ dietswap %>%
#> reorder.hclust vegan
```

![](README_files/figure-gfm/unnamed-chunk-2-1.png)<!-- -->
<img src="man/figures/README-unnamed-chunk-2-1.png" width="100%" />

``` r
htmp <- dietswap %>%
Expand All @@ -213,7 +213,7 @@ ComplexHeatmap::draw(
)
```

![](README_files/figure-gfm/unnamed-chunk-3-1.png)<!-- -->
<img src="man/figures/README-unnamed-chunk-3-1.png" width="100%" />

### Example ordination plot workflow

Expand Down Expand Up @@ -267,7 +267,7 @@ customised_plot <- pca_plot +
customised_plot
```

![](README_files/figure-gfm/ordination-plot-1.png)<!-- -->
<img src="man/figures/README-ordination-plot-1.png" width="100%" />

### PERMANOVA

Expand All @@ -292,8 +292,8 @@ aitchison_perm <- aitchison_dists %>%
n_processes = 1, n_perms = 99, # you should use at least 999!
variables = "bmi_group"
)
#> 2021-12-02 14:48:54 - Starting PERMANOVA with 99 perms with 1 processes
#> 2021-12-02 14:48:54 - Finished PERMANOVA
#> 2021-12-02 19:22:03 - Starting PERMANOVA with 99 perms with 1 processes
#> 2021-12-02 19:22:03 - Finished PERMANOVA

# view the permanova results
perm_get(aitchison_perm) %>% as.data.frame()
Expand Down Expand Up @@ -324,8 +324,8 @@ your permanova directly using the `ord_plot` function with constraints
perm2 <- aitchison_dists %>%
dist_permanova(variables = c("weight", "african", "sex"), seed = 321)
#> Dropping samples with missings: 2
#> 2021-12-02 14:48:54 - Starting PERMANOVA with 999 perms with 1 processes
#> 2021-12-02 14:48:55 - Finished PERMANOVA
#> 2021-12-02 19:22:03 - Starting PERMANOVA with 999 perms with 1 processes
#> 2021-12-02 19:22:04 - Finished PERMANOVA
```

We’ll visualise the effect of nationality and bodyweight on sample
Expand Down Expand Up @@ -354,7 +354,7 @@ perm2 %>%
#> female
```

![](README_files/figure-gfm/constrained-ord-plot-1.png)<!-- -->
<img src="man/figures/README-constrained-ord-plot-1.png" width="100%" />

### Correlation Heatmaps

Expand Down Expand Up @@ -389,7 +389,7 @@ cor_heatmap(
)
```

![](README_files/figure-gfm/heatmap-1.png)<!-- -->
<img src="man/figures/README-heatmap-1.png" width="100%" />

## Citation

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 31fcbc2

Please sign in to comment.