preprocess_phenodata: preprocess_phenodata

View source: R/zimfrv.R

preprocess_phenodataR Documentation

preprocess_phenodata

Description

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.

Usage

preprocess_phenodata(pheno_file, cov_file)

Arguments

pheno_file

phenotype file in PLINK format

cov_file

covariate file in PLINK format

Value

a data frame containing phenotypes and covariates respectively for all individuals in the required format for model fitting and testing

Examples

data(Ex2_pheno)
data(Ex2_covar)
preprocess_phenodata(Ex2_pheno,Ex2_covar)


ZIM4rv documentation built on April 3, 2025, 7:39 p.m.