plot.EpiNet | R Documentation |
Plot an epistatic network between a set of QTLs.
## S3 method for class 'EpiNet' plot(x, ...)
x |
an object of class |
... |
additional parameters (ignored) |
An object of class EpiNet
is typically first retrieved from
a Population
object (using getEpiNet
) before
being plotted using plot.EpiNet()
.
A plot of the epistatic network is displayed.
Dion Detterer, Paul Kwan, Cedric Gondro
Population
, attachEpiNet
,
getEpiNet
# Build a population with an epistatic network attached pop <- Population( popSize = 100, map = map100snp, QTL = 20, alleleFrequencies = runif(100), broadH2 = 0.9, narrowh2 = 0, traitVar = 40 ) pop <- attachEpiNet(pop) # Retrieve and plot the epistatic network epinet <- getEpiNet(pop) plot(epinet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.