lbrat_read_phe: Read in Phenotype and Genotype Files

Description Usage Arguments Value

View source: R/lbrat_SSD.R

Description

This function loads a phenotype file, a covariates file and a plink fam file it's able to match the phenotype ID with genotype ID and generate input dataframe for L-BRAT/RGMMAT test.

Usage

1
lbrat_read_phe(y.file, cov.file, plink.file)

Arguments

y.file

Path to the input file

cov.file

Path to the covariates file

plink.file

Path to the plink file frefix

Value

A formatted dataframe used as L-BRAT/RGMMAT test input


ZWang-Lab/LBRAT documentation built on March 12, 2020, 7:26 p.m.