This package contains useful R functions for analysing GHRU data
See the HTML docs for documentation of the functions
See these vignettes for examples basic principals making microreact data
Install from the source from within the R console or the Console in RStudio using (R>= 3.2.0)
install.packages(c("googledrive", "googlesheets4", "dplyr", "tidyr", "readr", "stringr", "purrr", "anytime", "magrittr", "ape", "tibble", "GrpString", "ggplot2", "ggeasy", "ggthemes", "RColorBrewer", "ggpubr", "cowplot", "ggupset", "epiR", "forcats", "memoise"", "collections"))
Choose one of the following options
devtools::install_git("https://gitlab.com/cgps/ghru/ghrur.git")
install.packages("https://gitlab.com/cgps/ghru/ghrur/raw/master/ghruR_0.3.2.tar.gz",repos=NULL, method="libcurl")
pkgdown::build_site()
If you have added new examples to the vignettes, use the following command to make a new html file
rmarkdown::render('vignettes/analysing_ghru_data.Rmd')
rmarkdown::render('vignettes/making_microreact_compatible_data.Rmd')
devtools::test()
for (file in list.files('vignettes', pattern = '*.Rmd', full.names = TRUE)) { rmarkdown::render(file) } devtools::document() pkgdown::build_site(lazy = TRUE) devtools::build(path='.')
git add . git commit -m 'Message about changes' git push