View source: R/add_predictions.R
make_new_data_predictions | R Documentation |
This function takes new data, and produces predictions, error estimates, and SHAP values
make_new_data_predictions(model, name, indx, total, new_data)
model |
The model object. |
name |
The name of the perturbation. |
indx |
Integer index used, for progress report. |
total |
Integer of the total number of perturbations passed to this function, for progress report. |
new_data |
A dataframe of new cases with predictors as columns. Sample names are row names. |
make_new_data_predictions(my_model,"ko_ctnnb1",1,1,my_new_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.