plotPearsonRes: Function for plotting the variance of Pearson residuals

View source: R/VarID_functions.R

plotPearsonResR Documentation

Function for plotting the variance of Pearson residuals

Description

This function plots the variance versus the mean of the Pearson residuals obtained by the negative binomial regression computed by the function compY if regNB is TRUE. A local regression is also shown.

Usage

plotPearsonRes(y, log = FALSE, ...)

Arguments

y

List object returned by the compNoise or pruneKnn function (if run with regNB=TRUE).

log

logical. If TRUE then the y-axis is log-transformed. Default is FALSE.

...

Additional arguments for plot.

Value

None

Examples

res <- pruneKnn(intestinalDataSmall,no_cores=1)
plotPearsonRes(res,log=TRUE)

RaceID documentation built on Sept. 28, 2023, 5:06 p.m.