sortComponents: Sort component names.

View source: R/stochastic_simulation.R

sortComponentsR Documentation

Sort component names.

Description

Sorts the names of the components of an in silico system (for plotting or summary).

Usage

sortComponents(componames)

Arguments

componames

A character vector, giving the names of the components.

Details

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

Value

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?


oliviaAB/sismonr documentation built on June 25, 2022, 11:59 p.m.