Closed the-x-at closed 4 years ago
Do you have a fix for this? Please wait some minutes until I have synced the current master with bioconductor.
Ah, I did that already today morning.
The fix is straightforward, one has to reassign the names in the vector. If the FAData
constructor calls the trait<-
setter method, this is a one-liner.
Merged and pushed also to Bioconductor.
So long and thanks for all the fish.
Using a
logical
named vector for affection status in either the constructor ofFAData
or the setter functiontrait<-
results in the following error message: trait has to be a named vector with the names corresponding to the IDs used in the pedigree. This is due to a missing reassignment of names that are dropped upon conversion of thelogical
vector tonumeric
in the setter method.