run_markov: Calculate generation probabilities using Markov chain...

Description Usage Arguments Details Value

View source: R/RcppExports.R

Description

T specifies the transition probabilities by assigning probabilities to the interactions between LoxP sites. T must be a list of length 5 where each entry is a NumericMatrix. T[[1]] must be a 14x14 matrix where element (i, j) = (j, i) corresponds to the probability of interaction between LoxP sites i and j, where LoxP sites are numbered 1-14 (or 0-13) inclusive. For example, starting from the unrecombined cassette, an interaction (0, 12) yields the 1-element cassette 13

Usage

1
run_markov(n, T)

Arguments

n

number of steps to generate

T

transition probabilities specified as interaction probabilities

Details

Calculates the generation probability distribution for cassettes for varying values of n (step number)

Value

list of n+1 items, giving the distribution state at step 0, 1, ..., n.


jngwehi/loxcodeR documentation built on March 17, 2020, 5:32 p.m.