gtypes2loci | R Documentation |
gtypes
And loci
objects.Convert a gtypes
object to a loci
object.
gtypes2loci(x, sep = "/")
loci2gtypes(x, description = NULL, sep = "/")
x |
a gtypes or |
sep |
character used to separate alleles at a locus. |
description |
a label for the |
Eric Archer eric.archer@noaa.gov
initialize.gtypes, df2gtypes, sequence2gtypes, as.data.frame.gtypes, gtypes2genind
data(msats.g)
# Convert to loci
lc <- gtypes2loci(msats.g)
lc
# Convert to gtypes
gt <- loci2gtypes(lc)
gt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.