Learn R Programming

SimRVSequences (version 0.2.7)

SNVdata: Constructor function for an object of class SNVdata

Description

Constructor function for an object of class SNVdata

Usage

SNVdata(Haplotypes, Mutations, Samples = NULL)

Arguments

Haplotypes

sparseMatrix. A sparse matrix of haplotype data, which contains the haplotypes for unrelated individuals representing the founder population. Rows are assumed to be haplotypes, while columns represent SNVs.

Mutations

Data frame. A data frame that catalogs the SNVs in Haplotypes.

Samples

An optional dataframe or matrix describing the individuals in Haplotypes.

Value

an object of class SNVdata.