Learn R Programming

poppr (version 2.1.1)

gethierarchy: DEPRECATED FUNCTIONS

Description

These functions are deprecated as of poppr version 2.0 and have been moved to the adegenet package. See strata for details.

Usage

gethierarchy(...)

sethierarchy(...)

setpop(...)

setpop(...) <- value

sethierarchy(...) <- value

addhierarchy(...)

addhierarchy(...) <- value

splithierarchy(...)

splithierarchy(...) <- value

namehierarchy(...)

namehierarchy(...) <- value

Arguments

...
arguments to be passed on to adegenet strata and setPop methods.
value
argument passed on to adegenet methods.

Value

  • a deprecation message and the same return as the adegenet methods.

Background

These functions originally appeared in poppr in July of 2014. In March 2015, a request was made for them to be ported to the adegenet package as part of the population genetics in R hackathon. The name of the functions were moved from "hierarchy" to "strata" because it better reflected the nature of the fields to contain any information possible.

See Also

strata setPop