anovaDF: ANOVA overall P value for a linear model

Description Usage Details

Description

The function calculates ANOVA overall P value for a linear model where y is a numeric vector (an eigen vector calculated in an SVD) and x is a dependent variable from the metadata. The function loops over the columns of the metadata

Usage

1
anovaDF(vec, df)

Details

@param vec vector of the response variable (an eigen vector) @param df data frame with the metadata

@return a vector of P values for each model fitted where an independent variable is an eigen vector and the dependent variable is one of the variables from the metdata data frame


moosik/snorm documentation built on May 23, 2019, 6:11 a.m.