generateGraphs {PhenStat} | R Documentation

## Method "generateGraphs"

### Description

Function generates graphs for the Mixed Model and Time as Fixed Effect frameworks' results and stores generated graphs in the defined directory.

### Usage

        generateGraphs(phenTestResult, dir,
                graphingName=NULL, type="Xlib")

### Arguments

`phenTestResult` | instance of the `PhenTestResult` class that comes from the function `testDataset`; mandatory argument
`dir` | directory where to store generated graphs; mandatory argument
`graphingName` | a character string defining the name to be used on the graph for the dependent variable; defaults to NULL then the depVariable name will be plotted
`type` | character string, one of "Xlib" or "quartz" (some OS X builds) or "cairo", or "window", or cairo-png"; mandatory argument

### Value

Empty.

### Author(s)

Natalja Kurbatova, Natasha Karp, Jeremy Mason

### 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`

[Package PhenStat version 2.17.0 Index]