set_split {isotracer} | R Documentation |
Flag some network compartments as being split compartments
Description
This function automatically adds a default prior (uniform on [0,1]) for the active portion of split compartments.
Usage
set_split(nm, comps = NULL, which = NULL)
Arguments
nm |
A |
comps |
Vector of strings, the names of the compartments to set split. |
which |
Vector of integers giving the nm rows to update. Default is to update all rows. |
Value
A networkModel
object.
Examples
library(magrittr)
x <- new_networkModel() %>%
set_topo("NH4 -> algae -> daphnia") %>%
set_split("algae")
topo(x)
[Package isotracer version 1.1.6 Index]