Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorsanderson committed Jan 13, 2025
1 parent 097cdf0 commit f7f0e13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resources/phenotypes/organise_phenotypes.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ Files needed to input into this:
- configuration environment
- phenotype description (name, id, units, min, max etc..)
- genetic covariates (id, PC's, sex*)
- phenotype file (id, age, phenotype value, age varying covariates)
- phenotype file (id, age, phenotype value, age varying covariates (medication))
- covariates file (id, non age varying covariates (year of birth, sex*))

Minimum phenotype columns required: 'FID' 'IID' 'age' 'value' then any required covariates**. Value is the value of the trait, column name should be 'value' and the file name the id of the trait (e.g. 'bmi.txt' for body mass index). Phenotypic covariates (and column names) required for each trait are described in "phenotypes_list" csv file.

*Sex is assumed to be coded as 1 - male, 2 - female.
*Sex can be input with either the genetic or phenotypic covariates but is assumed to be coded as 1 - male, 2 - female.
**If observations for either blood pressure or cholesterol medication are missing they should be included as 0. If this information has not been recorded (or is assumed to be 0 for all individuals) please include a column of 0's with the appropriate heading in the phenotypic data.

Other notes:
Expand Down

0 comments on commit f7f0e13

Please sign in to comment.