ApplyLasso: This function applies L1 regularised Lasso regression on the...

Description Usage Arguments Value

View source: R/functions.R

Description

This function applies L1 regularised Lasso regression on the dataset. The regularisation parameter is selected by cross validation. It uses function from package "lars".

Usage

1
ApplyLasso(data, pred_pos = NULL)

Arguments

data

a data.frame or a matrix with n rows (=time points) and p columns (=genes) containing the gene expression time series.

pred_pos

indices of the potential predictor variables in the dataset. If the value is NULL, all variables are considered as potential predictors.

Value

a matrix of Lasso regression coefficients.


HamdaBinteAjmal/DBN4GRN documentation built on Dec. 27, 2021, 2:08 p.m.