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