rsq_calc: Function rsq_calc

Description Usage Arguments Value Author(s) References Examples

View source: R/rsq_calc.R

Description

Takes a Log2CPM numeric matrix and MArrayLM fit object from lmFit and calculates R-squared for each gene fit.

Usage

1
rsq_calc(x, fit)

Arguments

x

A normalized log2cpm matrix

fit

A MArrayLM object from lmFit

Value

A vector of R-squared values for each gene fit.

Author(s)

John Thompson, jrt@thompsonclan.org

References

https://support.bioconductor.org/p/17431/ (Mark Robinson)

Examples

1
  rsq  = rsq_calc (log2cpm, fitObject)

jrthompson54/DGE.Tools2 documentation built on May 12, 2021, 8:47 p.m.