as.segsites: Convert genetic data to coala's internal format
Description
This function can be used to convert the genomic data formats used in other
packages to calculate coala's segregating sites object. This is useful for
calculating the summary statistics of biological data using the
calc_sumstats_from_data function.
Usage
as.segsites(data, ...)
Arguments
data
The data object that is converted.
...
Additional arguments specific for the used package.
Value
A list of segregating sites objects.
Details
Currently, only the package PopGenome is supported, see
as.segsites.GENOME for details.