R/plot_vi_biosecurity.R
plot_vi_biosecurity.Rd
Plots global importance (i.e. cumulative importance of all features for all response variables) and individual response importance.
plot_vi_biosecurity(
VI,
modelPerf,
Y,
X,
groupCov = NULL,
cutoff = 0.2,
plot.pca = "no",
mode = "regression"
)
A dataframe
dataframe generated from mrvip function
A dataframe
dataframe generated by modelPerf function
A dataframe
response dataset
A dataframe
feature dataset
A numeric
determines mathews correlation coefifcent (mcc) threshold for displaying individual reponse model. Default is 0.5
character
'classification' or 'regression' i.e., is the generative model a regression or classification?
1st plot: and individual reponse feature plots (2nd plot). Requires object generated from the R function mrvip as well as feature data (Y). Variables also need to be grouped to allow for easier interpretation.