ggbulksurv
installation.Rmd
First, install CRAN dependencies:
# CRAN dependencies
install.packages(c("dplyr", "ggplot2", "janitor", "magrittr", "scales", "tidyr"))
Next, install Bioconductor dependencies.
# Bioconductor dependencies
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(c("survival", "survminer"))
Lastly, install the development version of ggbulksurv
from GitHub with:
install.packages("devtools")
devtools
. The easiest way
to do this is via Homebrew, a convenient
package manager which automatically installs Xcode
as
well.
devtools::install_github("qhuitan/ggbulksurv")