Description Usage Arguments Author(s) See Also Examples
View source: R/gtypes2phyDat.R
Convert a gtypes
object to a phyDat
object.
1 2 3 | 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
1 2 3 4 5 6 7 8 9 | 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.