R/get_coefficient_dataset.R

Defines functions get_coefficient_dataset.geneSignature get_coefficient_dataset

Documented in get_coefficient_dataset

#' Get a list of LASSO (regression analysis) coefficients of each gene
#'
#' @param object An object of class "geneSignature"
#' @return A list of LASSO (regression analysis) coefficients of each gene
#' @export
#'
#' @examples
#' gs.object <- geneSignatures(toy_genes, toy_gene_memberships)
#' get_coefficient_dataset(gs.object)
get_coefficient_dataset <- function(object) {
    UseMethod("get_coefficient_dataset")
}
#' @export
get_coefficient_dataset.geneSignature <- function(object) {
    object$coefficient.dataset
}
BioSok/omada documentation built on Aug. 21, 2023, 2:38 p.m.