Learn R Programming

cape (version 3.1.2)

get_covar: Get covariate information

Description

This function returns information about the covariates specified for the cape run.

Usage

get_covar(data_obj)

Value

Returns a list with the following elements: covar_names: a character vector holding the names of the covariates covar_type: a character vector indicating whether each covariate derived from the phenotype matrix ("p") or the genotype matrix ("g") covar_loc: A numeric vector indicating the locations of each covariate covar_table: A matrix holding the individual values for each covariate.

Arguments

data_obj

a Cape object