Learn R Programming

perfectphyloR (version 0.2.1)

ex_hapMat_data: Example dataset

Description

A hapMat data object containing 200 sequences (haplotypes) with 2747 SNVs.

Usage

data(ex_hapMat_data)

Arguments

Format

A list of 200 haplotypes with the physical positions of each SNV.

hapmat

A matrix of 0's and 1's, with rows representing haplotypes and columns representing SNVs.

snvNames

A vector of names of SNVs for the columns of hapmat.

hapNames

A vector of names of haplotypes for the rows of hapmat.

posns

A numeric vector specifying the genomic positions (e.g. in base pairs) of SNVs in the columns of hapmat.