View source: R/stochastic_simulation.R
| sortComponents | R Documentation | 
Sorts the names of the components of an in silico system (for plotting or summary).
sortComponents(componames)
| componames | A character vector, giving the names of the components. | 
Sort components into:
Genes (first) vs regulatory complexes
Then genes are sorted according to:
Gene ID (numeric)
Gene type (RNAs, then proteins, then modified proteins)
Allele
 If the components don't have a type (e.g. see the legend resulting from plotSimulation),
non-modified vs modified
Then sort complexes according to:
Target reaction in the following order: regulators of transcription, translation, RNA decay, protein decay, post-translational modification
Allele of their components
A dataframe: first column: sorted names of the components, second column: is the component a regulatory complex?, third column: is the component a modified protein?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.