find_recomb_spots: A function to find recombination breakpoint regions for a...

View source: R/find_recomb_spots.R

find_recomb_spotsR Documentation

A function to find recombination breakpoint regions for a single gamete

Description

This function finds recombination breakpoint regions for a single gamete by finding where adjacent non-NA haplotypes switch. Most likely large regions will be returned rather than 2bp windows because the sparsity of the original data constrains how many NAs will remain after filling and therefore we can only say that the true exchange point occurs somewhere between these two non-matching haplotypes

Usage

find_recomb_spots(input_gamete_data, x, identities, genomic_positions)

Arguments

input_gamete_data

(tibble) SNPs correspond to the rows and gametes correspond to the columns

x

which gamete number to search

identities

gamete identities vector

genomic_positions

Genomic SNP positions

Value

recomb_spots tibble of the recombination spots for gamete x


mccoy-lab/rhapsodi documentation built on July 27, 2022, 3:56 a.m.