API#
import scanvi_explainer
SCANVIDeep#
SCANVIDeep is an extension of DeepExplainer [Lundberg and Lee, 2017] for models trained using SCANVI [Xu et al., 2021]. |
SCANVIBoostrapper#
Utilities#
Retrieve key from |
|
Retrieve layers key of counts which the model was trained on |
|
Function to split anndata object 80/20 per group in format required for SCANVIDeep explainer. |
Plots#
Prints feature contribution (absolute mean SHAP value) for each cell type (top 10). |