Spark Online Training by Edureka

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

Description Usage Arguments Value


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.


load_sample_data(phenoFile, main.pheno)



File path to the phenotype/covariate file.


Column name of the main phenotype of interest.


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

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

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