In addition, you may consider writing a function which converts the UKB trait IDs to the format 'x[varid]_[instance]_[array]' required by PHESANT. It should not be too complicated.
Thanks for the reply. It's unclear whether table exporter will split the embedded array. For example HES from p41270 are within a single embedded array that contain multiple ICD10 codes. In the native UKB format these are present as separate columns.
Comments
2 comments
Table exporter (https://ukbiobank.dnanexus.com/app/table-exporter) has an option for UKB-style headers.
In addition, you may consider writing a function which converts the UKB trait IDs to the format 'x[varid]_[instance]_[array]' required by PHESANT. It should not be too complicated.
# i.e:
# p31 -> x31_0_0
Thanks for the reply. It's unclear whether table exporter will split the embedded array. For example HES from p41270 are within a single embedded array that contain multiple ICD10 codes. In the native UKB format these are present as separate columns.
Please sign in to leave a comment.