Nested test for linear model.

lm_test(Y, Meta1, Meta2, calc0, calc1, method = "F")

Arguments

Y

An omics feature as output.

Meta1

A dataframe of first set of meta variables.

Meta2

A dataframe of second set of meta variables.

calc0

A string of formula for null hypothesis.

calc1

A string of formula for alternative hypothesis.

method

Testing method. Can be chosen from "F", "globaltest", "Tmax", "Chisq", "Cp". By default is "F".

Value

A list contain bootstrapping pvalue and fitted R.square