simulateUnivariate {chromstaR} | R Documentation

## Simulate univariate data

### Description

Simulate known states, read counts and read coordinates using a univariate Hidden Markov Model with three states ("zero-inflation", "unmodified" and "modified").

### Usage

    simulateUnivariate(bins, transition, emission, fragLen = 50)

### Arguments

`bins` | A `GRanges-class` object for which reads will be simulated.
`transition` | A matrix with transition probabilities.
`emission` | A data.frame with emission distributions (see `uniHMM` entry 'distributions').
`fragLen` | Length of the simulated read fragments.

### Value

A `list` with entries $bins containing the simulated states and read count, $reads with simulated read coordinates and $transition and $emission.

[Package chromstaR version 1.12.0 Index]