biocircuits.apps.promiscuous_222_app

biocircuits.apps.promiscuous_222_app(n=13, low_ligand_conc=0.001, high_ligand_conc=1000.0, pretty_powers_of_ten=True)

Create a Bokeh app for exploring promiscuous ligand-receptor binding for a system with two types of receptor A, two types of receptor B, and two ligands.

Parameters:
  • n (int, default 13) – Number of different ligand concentrations to consider. Ligand concentrations vary logarithmically over low_ligand_conc to high_ligand_conc.

  • low_ligand_conc (float, default 0.001) – Lowest ligand concentration to consider.

  • high_ligand_conc (float, default 1000.0) – Highest ligand concentration to consider.

  • pretty_powers_of_ten (bool, default True) – If True, then attempts are made to make axis labels look “pretty”, like 10² instead of 1.0e+02. Not guaranteed to work for all choices of ligand concentration.

Returns:

app – The app function can be used to invoke a Bokeh app.

Return type:

function

Notes