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

Description Usage Arguments Value

View source: R/input_pheno_GT.R

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 29, 2017, 12:04 p.m.

Search within the OmicKriging package
Search all R packages, documentation and source code