allelematch: Function to get logical vector for if alleles match

Description Usage Arguments Value Examples

View source: R/allelematch.R

Description

Function to return logical vector as response to if alleles in two vector of alleles match. Takes into account A/T and C/G matching but does NOT account for snps with only A/T or C/G alleles.

Usage

1

Arguments

x, y

Vectors of alleles

Value

output Logical vector of length x

Examples

1
Match=allelematch(scd$Allele1.scd, scd$Allele1.cad)

foramashar/fashaR documentation built on Nov. 15, 2020, 5:05 a.m.