next | previous | forward | backward | up | top | index | toc | Macaulay2 website
ReactionNetworks :: nSiteDiffusion

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.