old2new {adegenet} | R Documentation |
Adegenet classes changed from S3 to S4 types starting from version
1.1-0. old2new
has two methods for genind and genpop objects,
so that old adegenet objects can be retrieved and used in recent versions.
## S4 method for signature 'genind': old2new() ## S4 method for signature 'genpop': old2new()
Optional content but $pop
and $pop.names
will not be
converted. These are to be coerced into a list and set in the
@other
slot of the new object.
Thibaut Jombart jombart@biomserv.univ-lyon1.fr