subsetDiffHaplosWithinParent: Haplotypes

View source: R/quantgen.R

subsetDiffHaplosWithinParentR Documentation

Haplotypes

Description

Return a subset of SNPs for both haplotypes within a given parent in order to easily visualize a given crossing-over.

Usage

subsetDiffHaplosWithinParent(haplos.chr, snps.tokeep)

Arguments

haplos.chr

matrix containing both haplotypes of a given parent, with haplotypes in rows and SNPs in columns

snps.tokeep

vector of SNPs to keep in the subset (typically the ones at which the crossing-overs occurred)

Value

matrix with both haplotypes in rows and a subset of SNPs in columns

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.