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")

Arguments

scmpObj

An object of class ScMaSigPro.

feature_id

Name of the gene to be plotted.

model

Type of model to be used for plotting. Can be either 'optimized', 'intercept'and 'full'. Default is 'optimized'.

Value

ggplot2 plot object.

Author

Priyansh Srivastava spriyansh29@gmail.com