#' 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
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.