Learn R Programming

sequoia (version 2.0.7)

CalcSnpdBoth: SNPs scored in both individuals

Description

count no. SNPs for which both individuals of pair are successfully SNPd

Usage

CalcSnpdBoth(Pairs, GenoM)

Arguments

Pairs

dataframe or matrix with 2 columns with IDs

GenoM

matrix with genotype data, individuals in rows and SNPs in columns, missingness as -9

Value

an unnamed vector with counts