netgwas (version 1.14.3)

plot.simgeno: Plot function for S3 class "simgeno"

Description

Visualizes the pattern of the true graph, the adjacency matrix, precison matrix and the covariance matrix of the simulated data.

Usage

# S3 method for simgeno
plot(x, layout = layout.fruchterman.reingold, ...)

Arguments

x

An object of S3 class "simgeno", from function simgeno.

layout

The default is "layout.fruchterman.reingold".

...

System reserved (No specific usage)

Author

Pariya Behrouzi and Ernst C. Wit
Maintainer: Pariya Behrouzi pariya.behrouzi@gmail.com

References

Behrouzi, P., and Wit, E. C. (2017c). netgwas: An R Package for Network-Based Genome-Wide Association Studies. arXiv preprint, arXiv:1710.01236.

See Also

simgeno

Examples

Run this code
if (FALSE) {
# Generating discrete ordinal data with "genome-like" graph structure
data.sim <- simgeno(alpha = 0.01, beta = 0.02)
plot( data.sim )
}

Run the code above in your browser using DataLab