setTransitionProbabilities {srnadiff} | R Documentation |
Set transition probabilities (for the HMM step).
setTransitionProbabilities(object, noDiffToDiff, diffToNoDiff) ## S4 method for signature 'sRNADiff,numeric,numeric' setTransitionProbabilities(object, noDiffToDiff, diffToNoDiff)
object |
An |
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 |
The same object
exp <- sRNADiffExample() exp <- setTransitionProbabilities(exp, 0.001, 0.000001)