findOppositeAndMissing function

Function to calculate oppositeAndMissingGenotypes array

Function to calculate oppositeAndMissingGenotypes array

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

findOppositeAndMissing(data, ROHet = TRUE)

Arguments

  • data: vector of 0/1/2 genotypes
  • ROHet: TRUE in ROHet evaluation, FALSE for ROHom

Returns

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