Learn R Programming

cape (version 3.1.0)

get_covar: Get covariate information

Description

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

Usage

get_covar(data_obj)

Arguments

data_obj

a Cape object

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.

Examples

Run this code
# NOT RUN {
covar_info <- get_covar(data_obj)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab