snpnet_fit_to_df: convert the snpnet regression coeffieicnets (betas) into a...

Description Usage Arguments Value

View source: R/helpers.R

Description

convert the snpnet regression coeffieicnets (betas) into a data frame.

Usage

1
snpnet_fit_to_df(beta, lambda_idx, covariates = NULL, verbose = FALSE)

Arguments

beta

A list of vevtors containing beta values at different lambda indices

lambda_idx

A lambda index for which we extract the beta values

covariates

A list of covariates

verbose

A boolean variable indicating whether we should dump logs

Value

a data frame containing betas


rivas-lab/snpnet documentation built on Dec. 14, 2021, 3:22 a.m.