detectGenes: Detect main genes

Description Usage Arguments Value

View source: R/gSelection.R

Description

Given an expression matrix and a covariate, this function calculates the variables that best predict that covariate using glmnet algorithm

Usage

1
detectGenes(data, covariate, cvfit)

Arguments

data

expression matrix

covariate

numeric vector

cvfit

GMLNET object

Value

Dataframe containing the variables selected by the glmnet algorithm and the coefficients associated with these variables


carmen-maria-hernandez/coexnetwork documentation built on Dec. 19, 2021, 1:53 p.m.