Learn R Programming

cape (version 3.1.2)

check_geno: Check to see if the any markers in the supplied genotype matrix is one of the covariates.

Description

Check to see if the any markers in the supplied genotype matrix is one of the covariates.

Usage

check_geno(genotype, covar_table)

Value

covariates indices that match the genotype

Arguments

genotype

The vector of genotype values for a single marker

covar_table

The table of covariates