readMSMCInference: Read in the final ouput of MSMC.

Description Usage Arguments Value Examples

Description

Reads in the out.final.txt file from MSMC and converts the output into a tibble.

Usage

1
readMSMCInference(pathOfMSMCOutFinal, mutationRate)

Arguments

pathOfMSMCOutFinal

The path to the "out.final.txt" that MSMC outputs.

mutationRate

The mutation rate in mutations/bp/gen. This is the same mutation rate that one would use to scale results to real time and population sizes. See https://github.com/stschiff/msmc/blob/master/guide.md for more help.

Value

A tibble desribing the scaled population size changes over generations.

Examples

1
readMSMCInference(pathOfMSMCOutFinal = "../data/msprimeMultiHetSep/simulatedMsprime.oak.msmc.out.final.txt", mutationRate = 1e-8)

JesseGarcia562/psmc2msprime documentation built on May 29, 2019, 8:20 p.m.