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)



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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.