Learn R Programming

coala (version 0.2.0)

locus_trio: Adds a trio of loci to a group

Description

Adds a trio of loci to a group

Usage

locus_trio(locus_length = c(left = 1000, middle = 1000, right = 1000),
  distance = c(left_middle = 500, middle_right = 500), number = 1)

Arguments

locus_length
An integer vector of length 3, giving the length of each of the three loci (left, middle and right).
distance
A vector of two, giving the distance between left and middle, and middle an right locus, in base pairs.
number
The number of loci to add.

Examples

Run this code
coal_model(c(25,25)) +
  locus_trio(locus_length=c(1250, 1017, 980),
             distance=c(257, 814))

Run the code above in your browser using DataLab