R/readBAGSCoef.R

#' Read coefficients for the BAGS classifier
#' 
#' Function to read coefficients for the BAGS classifier.
#' @rdname readBAGSCoef
#' @return A matrix with coefficients
#' @examples
#' head(readBAGSCoef())
#' @export
readBAGSCoef <- function() {
  file <- system.file("extdata/BAGS/BAGS.coef.rds", package = "hemaClass")
  return(readRDS(file))
}
oncoclass/hemaClass documentation built on May 24, 2019, 2:19 p.m.