Loads sample phenotype and covariate data into data frame.
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.
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)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.