View source: R/Population_getters.R
getEpiNet | R Documentation |
Get an epistatic network from a Population
object.
getEpiNet(pop)
pop |
An object of class |
getEpiNet()
is merely a function for retrieving an
epistatic network object. The common purpose is to plot the
network.
An object of class 'EpiNet'
is returned.
Dion Detterer, Paul Kwan, Cedric Gondro
Population
, plot.EpiNet
,
attachEpiNet
# Create population and attach an epistatic network pop <- Population( popSize = 200, map = map100snp, QTL = 20, alleleFrequencies = runif(100), broadH2 = 0.9, narrowh2 = 0, traitVar = 40 ) pop <- attachEpiNet(pop) # Plot 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.