as.segsites {coala} | R Documentation |
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. |
Details
Currently, only the package PopGenome is supported, see
as.segsites.GENOME
for details.
Value
A list of segregating sites objects.
See Also
Further instructions are provided in the coala-data-import
vignette
For information about segsites: segsites
[Package coala version 0.7.2 Index]