plot_varImp function

Variable importance plot

Variable importance plot

Plot of variable importance of coefficients of a final fitted 'nestedcv.glmnet' model using ggplot2. Mean expression can be overlaid as the size of points as this can be informative in models of biological attributes.

plot_varImp(x, abs = TRUE, size = TRUE)

Arguments

  • x: a 'nestcv.glmnet' class object
  • abs: Logical whether to show absolute value of glmnet coefficients
  • size: Logical whether to show mean expression by size of points

Returns

Returns a ggplot2 plot

  • Maintainer: Myles Lewis
  • License: MIT + file LICENSE
  • Last published: 2025-03-10