subcluster: Drop markers in perfect LD with adjacent markers, keeping...

View source: R/subcluster.R

subclusterR Documentation

Drop markers in perfect LD with adjacent markers, keeping only a single representative marker.

Description

Description

Usage

subcluster(snp_data, block_threshold = 1, reverse = FALSE)

Arguments

snp_data

The snp_data to be filtered.

block_threshold

The minimum R^2 for two adjacent markers to be eligible for blocking (default: 1).

reverse

If true, blocks start at the most 3' position.

Details

Details

Value

A subset of the original snp_data containing only one representative marker per LD block.

Examples

NULL


malemay/HaplotypeMiner documentation built on Feb. 6, 2024, 3:29 a.m.