load_sample_data: Loads sample phenotype and covariate data into data frame.

Description Usage Arguments Value

Description

This function loads a file into a data frame. This file should contain one row per sample in your study, and one column for each covariate and phenotype of interest. Additionally, it requires a header with "IID" for the column of sample IDs, and a unique name for each phenotype and covariate.

Usage

1
load_sample_data(phenoFile, main.pheno)

Arguments

phenoFile

File path to the phenotype/covariate file.

main.pheno

Column name of the main phenotype of interest.

Value

A data frame with dimensions (# of samples) x (# of phenotypes/covar)


OmicKriging documentation built on May 1, 2019, 9:16 p.m.