model.poi.v: Modeling Poisson Regression Model on Original and Simulated...

Description Usage Arguments Details Value Author(s) References

View source: R/model.poi.v.R

Description

This function is designed to fit a Poisson regression model. The output of this function will be passed to the main GOF function.

Usage

1
model.poi.v(y, x, lib.sizes=NULL)

Arguments

y

an n-by-1 vector of non-negative integers. For a typical RNA-Seq experiment, this may represent the read counts for a single gene across n samples.

x

an n-by-p design matrix. For Poisson model fitting, we used the glm function, so if an intercept is desired, there is no need to include the first column of 1.

lib.sizes

library sizes of a RNA-Seq experiment. Default is 0 for all samples.

Details

The glm function with family=poisson is used for Poisson model fitting.

Value

A list of quantities to be used in the main nb.gof.v function.

Author(s)

Gu Mi <neo.migu@gmail.com>, Yanming Di, Daniel Schafer

References

See https://github.com/gu-mi/NBGOF/wiki/ for more details.


gu-mi/NBGOF documentation built on Oct. 25, 2020, 3:30 a.m.