plot.simgeno {netgwas}R Documentation

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 class '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(s)

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

## Not run: 
# Generating discrete ordinal data with "genome-like" graph structure
data.sim <- simgeno(alpha = 0.01, beta = 0.02)
plot( data.sim )

## End(Not run)

[Package netgwas version 1.14.3 Index]