GenerateMarkovTrace: Generate Markov trace for simulation of 'exp.mat' on the...

Description Usage Arguments Value

View source: R/crules.R

Description

Generate Markov trace for simulation of 'exp.mat' on the provided set of 'rules' with time constant tau and for n.sim.steps steps.

Usage

1
GenerateMarkovTrace(ids, exp.mat, rules, tau = 0.2, n.sim.steps = 5)

Arguments

ids

a vector of cell identities (e.g. cluster ids, cell types)

exp.mat

a cell (row) by gene (column) expression matrix of class 'ngCMatrix'

rules

a rules object

tau

time constant for simulation

n.sim.steps

total number of simulation steps to run.

Value

a (cell x sim step) matrix capturing cell states at each step of the simulation for fitting to a markov model.


rahuldhodapkar/crules documentation built on Jan. 21, 2022, 2:06 p.m.