Macaulay2 » Documentation
Packages » ReactionNetworks :: nSiteDiffusion
next | previous | forward | backward | up | index | toc

nSiteDiffusion -- an example for a diffusion network

Description

This motif creates a network for an N-compartment diffusion network.

i1 : nSiteDiffusion 5

o1 = X_1-->X_2
     X_2-->X_1
     X_2-->X_3
     X_3-->X_2
     X_3-->X_4
     X_4-->X_3
     X_4-->X_5
     X_5-->X_4

o1 : ReactionNetwork

To rename species, use substitute(ReactionNetwork,List).

Ways to use nSiteDiffusion :

For the programmer

The object nSiteDiffusion is a method function.