famuvie / breedR

Statistical methods for forest genetic resources analysts
http://famuvie.github.io/breedR/
GNU General Public License v3.0
31 stars 24 forks source link

Extractor function for breeding values #21

Closed famuvie closed 8 years ago

famuvie commented 9 years ago

Right now, we can only access breeding values by scraping the internals of a resulting object with res$genetic$fit. It is needed an extractor function to avoid this.

famuvie commented 9 years ago

I will use ranef() as an accessor function for all random effects, both non-structured (i.e. those in the random argument) and structured like the additive genetic effect or the spatial component.

However, the implementation is tricky: what is exactly what the user wants? the BLUPs for all the individuals in the pedigree, or for all the observations in the dataset (which excludes founders but potentially includes repetitions?

famuvie commented 8 years ago

Closed by 0d5aa29f8e84380b44f2f53a811e7784be169338