gaynorr / AlphaSimR

R package for breeding program simulations
https://gaynorr.github.io/AlphaSimR/
Other
43 stars 18 forks source link

Add trait names to ease downstream scripting #24

Closed gregorgorjanc closed 2 years ago

gregorgorjanc commented 2 years ago

The idea is that we would be able to do something like this

pop@gv[, "traitX"]
gv(pop, trait = "traitX"
...

pop@pheno[, "traitX"]
pheno(pop, trait = "traitX"
...
gaynorr commented 2 years ago

Noted. I've added specific names for loci and chromosomes as part of ongoing development to better facility reading in real data. I can continue down this route by adding names to SNP chips and traits.