View source: R/buildEnsembleITValues.R
buildEnsembleITValues | R Documentation |
Build ensemble of IT values from a list of simulations
buildEnsembleITValues(
lsimu = lsimulation,
ITtab = sim$ITtable,
bFullIT = FALSE
)
lsimu |
list of simulations |
ITtab |
IT table |
bFullIT |
boolean to return full IT table |
list of IT values
library(forrel)
library(mispitools)
freqs <- lapply(getfreqs(Argentina)[1:15], function(x) {x[x!=0]})
fam <- linearPed(2)
fam <- addChildren(fam, father = 1, mother = 2)
fam <- pedtools::setMarkers(fam, locusAttributes = freqs)
ped <- profileSim(fam, N = 1, ids = c(6) , numCores = 1,seed=123)
lsimEnsemble <- simTestIDMarkers(ped,2,numSim=5,seed=123)
lensembleIT <- buildEnsembleITValues(lsimu=lsimEnsemble,ITtab=simME$ITtable,bFullIT = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.