Description Usage Arguments Value Examples
Generates the msprime function describing the inferred demography from MSMC using the populationParameterChanges
1 | generateMSPrimeFunction(PopulationParametersChangeInput, outpath)
|
PopulationParametersChangeInput |
The character that defines the how the population sizes change across generations. This is generated by the generatePopulationParameterChanges. |
outPath |
The desired output path for the msprime script you are trying to create. |
Returns nothing. But writes to file an msprime function called "msmc_model" that describes the inference made by MSMC
1 2 3 | msmcInference<-readMSMCInference(pathOfMSMCOutFinal = "../data/msprimeMultiHetSep/simulatedMsprime.oak.msmc.out.final.txt", mutationRate = 1e-8)
populationParametersChange<-generatePopulationParameterChanges(msmcInference)
generateMSPrimeFunction( outPath = "../code/msmc2msprime_Feb1.py", PopulationParametersChangeInput=populationParametersChange)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.