Learn R Programming

MOJOV (version 1.0.1)

MOJOV.linearRegAnalysis: A internal function. Linear regression analysis between rare variants and phenotype.

Description

A internal function. Linear regression analysis between rare variants and phenotype.

Usage

MOJOV.linearRegAnalysis(x = NULL, y = NULL, testMethod = c("FTest", "WaldTest", "LRT", "Sandwich", "all"), ...)

Arguments

x
A vector for genotype, and it can be from MOJOV.genoVector.
y
A vector for phenotype.
testMethod
Specify the test method for linear regression, It can be "FTest", "WaldTest", "LRT", "Sandwich" and "all". And the default value is "FTest".

Details

See MOJOV.analysis

See Also

MOJOV.analysis

Examples

Run this code
x<-runif(100,0,3)
y<-x+rnorm(100,1,1)
MOJOV.linearRegAnalysis(x=x,y=y)

Run the code above in your browser using DataLab