Plots model residuals for the requested gene. Can be used for model diagnostics of optimized model or full model.
plotDiagnostics(scmpObj, feature_id, model = "optimized")
An object of class ScMaSigPro
.
Name of the gene to be plotted.
Type of model to be used for plotting. Can be either 'optimized', 'intercept'and 'full'. Default is 'optimized'.
ggplot2 plot object.