load_sample_data {OmicKriging}R Documentation

Loads sample phenotype and covariate data into data frame.

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

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)


[Package OmicKriging version 1.4.0 Index]