Description Usage Arguments Value Author(s) Examples

A function called within `QL.fit`

to compute Poisson deviances of each gene for given design matrix

1 |

`counts` |
RNA-seq data matrix of integer expression counts. Each row contains observations from a single gene. Each column contains observations from a single experimental unit. |

`design` |
A single element from the |

`log.offset` |
A vector of log-scale, additive factors used to adjust estimated log-scale means for differences in library sizes across samples. Commonly used offsets include, |

`print.progress` |
logical. If |

list containing:

`dev` |
vector containing the deviance for each gene under a Poisson model fit to design matrix (or vector, for one-factor experiments) specified by |

`means` |
matrix of fitted mean values for each gene |

`parms` |
matrix of estimated coefficients for each gene |

`bartlett.epsilon` |
A numeric vector containing the epsilon values that can be later used for Bartllet correction of likelihood ratio test. |

Originally authored by Steve Lund lundsp@gmail.com; later modified by Long Qu rtistician@gmail.com

1 2 3 4 5 6 7 8 9 | ```
## Not run:
pois.fit =
with(mockRNASeqData,
PoisDev(counts, design.matrix, log(estimated.normalization))
)
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.