lasso_coef_correlation: Correlation between LASSO coefficients.

Description Usage Arguments

View source: R/correlation.R

Description

Similar to the random forest correlation metric, but rather than Gini impurity indices we compute the coefficients corresponding to each gene with a LASSO regression model.

Usage

1
2
3
4
5
6
7
lasso_coef_correlation(
  expression_matrix,
  pseudotime,
  truetime,
  milestones,
  ...
)

Arguments

expression_matrix

A p x n normalized gene expression matrix.

pseudotime

An n-vector of pseudotime estimates.

truetime

An n-vector of true timpoints.

milestones

A subset of the true time points, used to compute LASSO coefficients.

...

Additional parameters passed to cv.glmnet.


pknight24/pstmeval documentation built on Nov. 18, 2020, 9:42 p.m.