Learn R Programming

detectRUNS (version 0.9.6)

findOppositeAndMissing: Function to calculate oppositeAndMissingGenotypes array

Description

This is an helper function, this will be called by another function

Usage

findOppositeAndMissing(data, ROHet = TRUE)

Arguments

data

vector of 0/1/2 genotypes

ROHet

TRUE in ROHet evaluation, FALSE for ROHom

Value

character array; names will be index in which opposite and missing snps are found in data array