Description Usage Arguments Details Value Examples
Read a phenotype file as a data frame for the selected columns along with 'FID', 'IID', 'population', and 'split' columns
1 | read_phenotype_file(phenotype_file_path, columns)
|
phenotype_file_path |
A path to the phenotype file |
columns |
a list of columns to read |
We recode -9 as NA in population, split, age, and sex columns
data frame containing phenotype data
1 2 3 4 5 6 | ## Not run:
read_phenotype_file(phenotype_file_path, 'INI50')
read_phenotype_file(phenotype_file_path, c('INI50', 'HC382'))
read_phenotype_file(phenotype_file_path, c('age', 'sex', 'INI50', 'HC382'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.