View source: R/gtypes2phyDat.R
gtypes2phyDat | R Documentation |
gtypes
And phyDat
objects.Convert a gtypes
object to a phyDat
object.
gtypes2phyDat(x, locus = 1) phyDat2gtypes(x, ...)
x |
a gtypes or |
locus |
name or number of locus to convert. |
... |
optional arguments passed to |
Eric Archer eric.archer@noaa.gov
initialize.gtypes, df2gtypes, sequence2gtypes, as.data.frame.gtypes, as.matrix.gtypes, gtypes2genind, gtypes2loci
data(dloop.g) # Convert to phDat pd <- gtypes2phyDat(dloop.g) pd # Convert to gtypes gt <- phyDat2gtypes(pd) gt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.