Description Usage Arguments Details Value References Examples

Implements the matrix model in Promislow et al (1999)

1 2 | ```
MatrixModel(mismatch, len, nsolo, r = 0.013, plotFit = FALSE,
main = sprintf("n = %d", n))
``` |

`mismatch` |
A vector containing the number of mismatches. |

`len` |
A vector containing the length of each element. |

`nsolo` |
An integer giving the number of solo elements. |

`r` |
Mutation rate (substitutions/(million year * site)) used in the calculation. |

`plotFit` |
Whether to plot the distribution fits. |

`main` |
The title for the plot. |

For the method implemented see References.

This function returns various parameter estimates described in Promislow et al. (1999), containing the following fields. The unit for time is million years ago (Mya):

`B` |
The constant insertion rate |

`q` |
The constant excision rate |

`lam` |
The population growth rate |

`R` |
The ratio of the number of elements in class j over class j+1, which is constant by assumption |

`age1` |
The age of the system under model 1 (lambda > 1) |

`age2` |
The age of the system under model 2 (an initial burst followed by stasis lambda = 1) |

Promislow, D., Jordan, K. and McDonald, J. "Genomic demography: a life-history analysis of transposable element evolution." Proceedings of the Royal Society of London B: Biological Sciences 266, no. 1428 (1999): 1555-1560.

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.