get_hap_matrix: Get haplotype matrix (L x N)

Description Usage Arguments Value Examples

View source: R/manipulate_haps.R

Description

This function extracts the haplotype matrix from .haps data frames

Usage

1

Arguments

haps

data.table.

Value

Returns a matrix.

Examples

1
2
haps <- read.haps(system.file("extdata/example.haps.gz", package = "relater"))
get_hap_matrix(haps)

leospeidel/relater documentation built on Jan. 6, 2020, 7:11 a.m.