Learn R Programming

perfectphyloR (version 0.2.1)

ex_hapMatSmall_data: Example small dataset

Description

A subset of ex_hapMat_data, containing 10 sequences (haplotypes) with 20 SNVs.

Usage

data(ex_hapMatSmall_data)

Arguments

Format

A list of ten 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.