setTransitionProbabilities {srnadiff} | R Documentation

## Set transition probabilities (for the HMM step).

### Description

Set transition probabilities (for the HMM step).

### Usage

    setTransitionProbabilities(object, noDiffToDiff, diffToNoDiff)

    ## S4 method for signature 'sRNADiff,numeric,numeric'
    setTransitionProbabilities(object,
      noDiffToDiff, diffToNoDiff)

### Arguments

`object` | An `srnadiff` object.
`noDiffToDiff` | probability to change from the "not-differentially expressed" state to the "differentially expressed" state
`diffToNoDiff` | probability to change from the "differentially expressed" state to the "not-differentially expressed" state

### Value

The same object

### Examples

    exp <- sRNADiffExample()
    exp <- setTransitionProbabilities(exp, 0.001, 0.000001)

[Package srnadiff version 1.5.0 Index]