preprocess_phenodata | R Documentation |
Preprocess phenotype files in PLINK format
This function converts PLINK format files into data frames containing phenotypes and covariates information in proper format for the model fitting and testing.
preprocess_phenodata(pheno_file, cov_file)
pheno_file |
phenotype file in PLINK format |
cov_file |
covariate file in PLINK format |
a data frame containing phenotypes and covariates respectively for all individuals in the required format for model fitting and testing
data(Ex2_pheno)
data(Ex2_covar)
preprocess_phenodata(Ex2_pheno,Ex2_covar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.