Skip to content

Commit

Permalink
version 0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
david-barnett committed Nov 14, 2022
1 parent 289b63e commit 05f92b1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
.RData
.Rprofile
docs/
tmp/
inst/doc
*.new.md
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: microViz
Title: Microbiome Data Analysis and Visualization
Version: 0.10.0.9000
Version: 0.10.1
Authors@R:
person(given = "David",
family = "Barnett",
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# microViz (development version)
# microViz 0.10.1

- Updates for compatibility with ggplot2 3.4.0
- Move DT, ggraph and tidygraph to suggested dependencies
Expand Down
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@ install.packages(
)
```

I also highly recommend you install the following suggested CRAN
packages.

``` r
install.packages("ggraph") # for taxatree_plots()
install.packages("DT") # for tax_fix_interactive()
install.packages("corncob") # for example datasets and beta binomial models
```

### Installation of microViz from GitHub

``` r
Expand Down Expand Up @@ -140,7 +149,7 @@ formally test this.

``` r
library(microViz)
#> microViz version 0.10.0 - Copyright (C) 2022 David Barnett
#> microViz version 0.10.1 - Copyright (C) 2022 David Barnett
#> ! Website: https://david-barnett.github.io/microViz
#> ✔ Useful? For citation details, run: `citation("microViz")`
#> ✖ Silence? `suppressPackageStartupMessages(library(microViz))`
Expand Down Expand Up @@ -323,8 +332,8 @@ aitchison_perm <- aitchison_dists %>%
n_processes = 1, n_perms = 99, # you should use at least 999!
variables = "bmi_group"
)
#> 2022-11-11 18:09:31 - Starting PERMANOVA with 99 perms with 1 processes
#> 2022-11-11 18:09:31 - Finished PERMANOVA
#> 2022-11-14 11:00:51 - Starting PERMANOVA with 99 perms with 1 processes
#> 2022-11-14 11:00:51 - Finished PERMANOVA

# view the permanova results
perm_get(aitchison_perm) %>% as.data.frame()
Expand All @@ -349,8 +358,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
#> 2022-11-11 18:09:31 - Starting PERMANOVA with 999 perms with 1 processes
#> 2022-11-11 18:09:33 - Finished PERMANOVA
#> 2022-11-14 11:00:51 - Starting PERMANOVA with 999 perms with 1 processes
#> 2022-11-14 11:00:53 - Finished PERMANOVA
```

We’ll visualise the effect of nationality and bodyweight on sample
Expand Down Expand Up @@ -457,11 +466,11 @@ sessionInfo()
#> [1] stats graphics grDevices utils datasets methods base
#>
#> other attached packages:
#> [1] ggplot2_3.4.0 dplyr_1.0.10 phyloseq_1.42.0 microViz_0.10.0
#> [1] ggplot2_3.4.0 dplyr_1.0.10 phyloseq_1.42.0 microViz_0.10.1
#> [5] testthat_3.1.5 devtools_2.4.5 usethis_2.1.6
#>
#> loaded via a namespace (and not attached):
#> [1] circlize_0.4.15 plyr_1.8.7 igraph_1.3.5
#> [1] circlize_0.4.15 plyr_1.8.8 igraph_1.3.5
#> [4] selectr_0.4-2 splines_4.2.1 GenomeInfoDb_1.34.2
#> [7] digest_0.6.30 foreach_1.5.2 ca_0.71.1
#> [10] htmltools_0.5.3 magick_2.7.3 viridis_0.6.2
Expand Down

0 comments on commit 05f92b1

Please sign in to comment.