Learn R Programming

PhenStat (version 2.6.0)

printLROutput: Method "printLROutput"

Description

Prints out for linear regression output

Usage

printLROutput(phenTestResult,phenotypeThreshold=0.01)

Arguments

phenTestResult
instance of the PhenTestResult class that comes from the function testDataset; mandatory argument
effectValues
a vector with genotype effect and standard error for the linear regression; mandatory argument
phenotypeThreshold
a numerical value defining the threshold to use in classificationTag; default value 0.01

Value

Prints out the common part of linear regression output.

References

Karp N, Melvin D, Sanger Mouse Genetics Project, Mott R (2012): Robust and Sensitive Analysis of Mouse Knockout Phenotypes. PLoS ONE 7(12): e52410. doi:10.1371/journal.pone.0052410 West B, Welch K, Galecki A (2007): Linear Mixed Models: A practical guide using statistical software New York: Chapman & Hall/CRC 353 p.

See Also

PhenTestResult

Examples

Run this code
    file <- system.file("extdata", "testLR.csv", package="PhenStat")
    testLR <- PhenList(dataset=read.csv(file),
            testGenotype="Mock")
    testLR2 <- LRDataset(testLR,"V2")
    resultLR <- testDataset(testLR2,
            depVariable="V2",
            method="LR")
    printLROutput(resultLR)

Run the code above in your browser using DataLab