R/install_chocophlan.R

Defines functions install.chocophlan

Documented in install.chocophlan

#' @name install.chocophlan
#' @title Install Chocophlan Database
#' @description This function installs the chocophlan database for using with Humann3.
#' @param location character; path to install location.
#' @seealso \code{\link{system}}, \code{\link{list2}}
#' @export

install.chocophlan <- function(location) {
  cmd <- paste("humann_databases --update-config yes --download chocophlan full", location)
  system(cmd)
}
kstagaman/sharpton-lab-metaGTx.processing documentation built on Oct. 2, 2022, 4:39 p.m.