netgwas (version 0.0.1-1)

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)

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
# NOT RUN {
# 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