split_haplo: Split haplotypes

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Split haplotypes into three components: A/B,len.

Usage

1

Arguments

hap

haplotype data with the format: X/Y:n,m.

Value

A tibble with three columns: A, B, and len.

Examples

1
2
3
4
5
split_haplo("./.:0")
split_haplo("4/2:34,24")
split_haplo("2/2:71")
split_haplo("4/2:2,1")
split_haplo("2/2:4")

villegar/RhAMPseq documentation built on Aug. 12, 2021, 8:47 p.m.