deepseqmat: Generate deep sequence observations

Description Usage Arguments Details Value Examples

View source: R/deepseqmat.r

Description

Generates a matrix of polymorphism frequencies

Usage

1

Arguments

X

Simulated complete genomic sampling data from the simulateoutbreak or simulatepopulation functions.

Details

The argument full=TRUE must be passed to simulateoutbreak or simulatepopulation in order for complete genomic data to be generated for each sample. Data of this format can be passed to this function.

Value

Returns a matrix, each row represents a polymorphic site, each column a sample. Frequencies of the mutant type (relative to the initial strain) are reported.

Examples

1
2

seedy documentation built on May 29, 2017, 10:58 a.m.