netgwas (version 0.0.1-1)

plot.netgwas: plot for S3 class "netgwas"

Description

Plot the graph path which is the output of two functions netsnp, netphenogeno.

Usage

# S3 method for netgwas
plot( x, n.markers=NULL , ... )

Arguments

x

An object from "netgwas" class.

n.markers

A vector containing number of variables/markers in each group/chromosome. For example, the CviCol dataset that is provided in the package contains 5 chromosomes/ groups which the total number of markers is \(p = 90\), where the first 24 markers belong into chromosome 1, the next 14 markers into chromosome 2, ..., and chromosome 5 contains 19 markers. Thus, n.mrkr = c(24,14,17,16,19). If n.mrkr = NULL, in the graph visualization all markers are represented same colour.

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

netmap, netsnp, netphenogeno.