fstats: A function for quickly calculating f statistics for use in...

Description Usage Arguments Value

View source: R/fstats.R


This function does simple linear algebra to calculate f-statistics for each row of a data matrix comparing the nested models defined by the design matrices for the alternative (mod) and and null (mod0) cases. The columns of mod0 must be a subset of the columns of mod.


fstats(dat, mod, mod0)



The transformed data matrix with the variables in rows and samples in columns


The model matrix being used to fit the data


The null model being compared when fitting the data


fstats A vector of F-statistics one for each row of dat.

sva documentation built on May 20, 2017, 9:56 p.m.

Search within the sva package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.