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
1 |
@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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.