listify: Convert results of hwx.test to a single list of hwtest objects.
Description
There are two main uses of listify. You can simplify a complex result from hwx.test containing multiple populations and multiple loci into a simple list of hwtest objects. At the same time, you have a chance to change the parameters detail and statName. Useful to get output from a test.
Usage
listify(hwlist, detail = NA, statName = NA)
Arguments
hwlist
the results of a call to hwx.test. It can be an hwtest object, a list of them or a list of lists of them.
detail
Used only if you wish to reset the detail of each object.
statName
Used only if you want to rest the statName of each object
Value
a list of hwtest objects, possibly with their detail and statName parameters reset