CSErrorCheck: CSErrorCheck

Description Usage Arguments Value Author(s)

Description

Performs error checks on the input for the CausalScreen function.

Usage

1
CSErrorCheck(X, P1, P2, l, k, y, z = NULL)

Arguments

X

is a matrix of the child's genotype.

P1

is a matrix of parent 1's genotype (ie; the father).

P2

is a matrix of parent 2's genotype (ie; the mother).

l

is an intermediate phenotype such as height.

k

is the intermediate phenotype of interest such as weight.

y

is the normally distributed outcome of interest such as FEV.

z

is a matrix of covariates to adjust for, such as age and gender.

Value

This function exits with an error message if the error checks are not met.

Author(s)

Sharon Lutz, Annie Thwing


SharonLutz/CausalScreen documentation built on May 6, 2019, 7:26 a.m.