old2new {adegenet}R Documentation

Convert objects with obsolete classe into new objects

Description

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.

Usage

## S4 method for signature 'genind':
old2new()
## S4 method for signature 'genpop':
old2new()

Details

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.

Author(s)

Thibaut Jombart jombart@biomserv.univ-lyon1.fr


[Package adegenet version 1.1-0 Index]