plot_varImp: Variable importance plot

View source: R/plots.R

plot_varImpR Documentation

Variable importance plot

Description

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.

Usage

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

Value

Returns a ggplot2 plot


nestedcv documentation built on Oct. 23, 2022, 5:06 p.m.