get_covar: Get covariate information

View source: R/get_covar.R

get_covarR 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.


TheJacksonLaboratory/cape documentation built on Feb. 12, 2024, 4:34 p.m.