naive_IBD: Calculation of IBD for a single data point

View source: R/calc_IBD.R

naive_IBD.numericR Documentation

Calculation of IBD for a single data point

Description

Calculation of IBD for a single data point

Calculation of IBD for multiple markers and/or individuals

Usage

## S3 method for class 'numeric'
naive_IBD(geno, p1hom, p2hom, ploidy = 2, ...)

## S3 method for class 'matrix'
naive_IBD(geno, p1hom, p2hom, ploidy = 2, p1name = "P1", p2name = "P2", ...)

Methods (by class)

  • numeric: Function for a single marker of a single individual.

  • matrix: Function for handling matrix input to naive_IBD


Alethere/SmoothDescent documentation built on Oct. 21, 2023, 7:11 a.m.