Summary Statistic: DNA
This summary statistic returns the actual DNA sequences from finite sites simulations. It can not be calculated together with other summary statistics or when assuming an infinite sites mutation model. No outgroup is needed for it, and the outgroup sequences will also be returned if present.
The name of the summary statistic. When simulating a model, the value of the statistics are written to an entry of the returned list with this name. Summary statistic names must be unique in a model.
An optional function for transforming the results of the statistic. If specified, the results of the transformation are returned instead of the original values.
A list of sequences for each locus. Each entries is a character matrix decoding the sequences. Each row is an individual, and each column is a genetic position.
To create a demographic model:
To calculate this statistic from data:
Other summary statistics:
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.