Learn R Programming

coala (version 0.7.2)

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, ...)

Value

A list of segregating sites objects.

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.

See Also

Further instructions are provided in the coala-data-import vignette

For information about segsites: segsites