get_covar {cape}R Documentation

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

## Not run: 
covar_info <- get_covar(data_obj)

## End(Not run)


[Package cape version 3.1.0 Index]