doInternalSimulation | R Documentation |
Helper function to get the within block se using re-simulation
doInternalSimulation(windows, data, reference, observed, nRefs, nSim = 1000)
windows |
is a dataframe with the Start_Pos and End_Pos |
data |
is the original chromosome data |
reference |
is a list with the names of the columns with references |
observed |
a character value that is the column name for the observed group |
nRefs |
is a vector the same lengths as reference with the number of individuals in each reference population |
nSim |
is the number of internal simulations for the standard error calculations |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.