grafify
gallerygrafify
is now on CRAN and can be
installed by typing install.packages("grafify")
.
Any updates not yet on CRAN will be made available on GitHub. To install
from GitHub you also need to install the remotes
package.
Then type
remotes::install_github("ashenoy-cmbi/grafify@*release")
.
grafify
requires the following packages to be installed:
car
, emmeans
, ggplot2
,
Hmisc
, lme4
, lmerTest
,
magrittr
, pbkrtest
, purrr
,
stats
, tidyr
.
grafify
do?It makes easier for new (or advanced) users of R do the following:
grafify
(e.g. to ggplot2
objects)Twelve colour blind-friendly palettes are available for categorical/nominal/discreet variables.
Five colour schemes are available for quantitative data, including three sequential and two divergent schemes.
Colour schemes are implemented from excellent blogs by Paul Tol,
the Okabe-Ito
scheme, Mike
Mol’s blog, and the cols4all
package.
In addition to using these palettes with grafify
graphs,
these can be applied to ggplot2
objects.
Also visit the companion website on Statistics for Mico/Immuno
Biologists which describes statistical tests and using base R
functions to execute them (e.g. with lme4
,
emmeans
, ggplot2
).
If you use grafify
, please cite
Shenoy, A. R. (2021) grafify: an R package for easy graphs, ANOVAs and post-hoc comparisons. Zenodo. http://doi.org/10.5281/zenodo.5136508
grafify
hexsticker