View source: R/import_popgenome.R
as.segsites.GENOME | R Documentation |
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.
## S3 method for class 'GENOME'
as.segsites(data, only_synonymous = FALSE, ...)
data |
The |
only_synonymous |
Only import synonymous SNPs if set to |
... |
Ignored. |
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.
An example and additional instructions are provided in the
coala-data-import
vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.