Skip to content

Conversation

@ilarsf
Copy link

@ilarsf ilarsf commented Jul 6, 2025

Corrects the sex restrictions in phecodeX_R_sex.csv so that:
• GU_603.6 – Scrotal pain → male-only
• GU_614.55 – Candidiasis of vulva and vagina → female-only

The previous values allowed both sexes, leading to inaccurate cohort definitions when generating sex-stratified PheWAS inputs. These fixes ensure downstream phenotype assignments (e.g., phewas_table() and any SNP-sex interaction models) now exclude biologically implausible cases.

No other codes were modified. CSV schema unchanged.

@RobertJCarroll
Copy link
Contributor

@adlewismbb Do you want to make version changes alongside content changes like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants