as.segsites.GENOME {coala} | R Documentation |
Convert PopGenome Data into Coala's Format
Description
Using this function, you can convert genetic data imported with the package
PopGenome into coala's segsites format. See as.segsites
for general information on converting genetic data for coala.
Usage
## S3 method for class 'GENOME'
as.segsites(data, only_synonymous = FALSE, ...)
Arguments
data |
The |
only_synonymous |
Only import synonymous SNPs if set to |
... |
Ignored. |
Details
This function imports all loci from the GENOME
object that have at
least one valid site (data@n.valid.sites
). The number of valid sites
is used as length of a locus.
See Also
An example and additional instructions are provided in the
coala-data-import
vignette
[Package coala version 0.7.2 Index]