Skip to main content

Kinetic models for released markers of activity.

Project description

RMA Kinetics

Source code for "Modeling kinetics of synthetic serum markers for monitoring deep tissue gene expression".

Getting Started

Basic Usage

There are three main model classes for constitutive or drug induced RMA expression.

  1. ConstitutiveRMA.
  2. TetRMA (Tet-Off based marker expression).
  3. ChemogeneticRMA (CNO induced marker expression with Tet-Off gating).

Models can be initialized from these classes and ran using the simulate method.

For example, to run the constitutive RMA expression model for 72 hours,

from rma_kinetics.models import ConstitutiveRMA
import matplotlib.pyplot as plt

# initialize constitutive RMA model
model = ConstitutiveRMA(
    rma_prod_rate=7e-3,
    rma_rt_rate=1,
    rma_deg_rate=7e-3
)

# simulate model and plot plasma RMA
solution = model.simulate(t0=0, t1=72, y0=(0,0))
solution.plot_plasma_rma()
plt.gcf()

Web App

To run locally, install marimo (available in the development dependencies) in your virtual environment and run marimo run app/main.py or use the provided Just command just app-serve to start the server. Alternatively, if using uvx, uvx marimo run app/main.py.

Notebooks

Notebooks can be found in the notebooks directory and require installing development dependencies.

Note that the diffopt package requires OpenMPI. Please install openMPI or use the provided Nix shell (i.e., with nix shell from the project root).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rma_kinetics-0.1.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rma_kinetics-0.1.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file rma_kinetics-0.1.0.tar.gz.

File metadata

  • Download URL: rma_kinetics-0.1.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.7

File hashes

Hashes for rma_kinetics-0.1.0.tar.gz
Algorithm Hash digest
SHA256 58f8fdcb00170313fdf9f59a2d0046c33808ed6bc55c85db0a5dedf08aedb89f
MD5 11f033d35d21426741d81f2aacc95b6a
BLAKE2b-256 72f5da78b03f1f2c133e8909ff8be43e15aa618ea3b6afa6e15971ae30a39fd8

See more details on using hashes here.

File details

Details for the file rma_kinetics-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rma_kinetics-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57555d43a8d38b2bf7496af1e8dd02bc23b3468cfd9010eb172edbf170376462
MD5 2a06f3b946d1f799d44ffb0b6c2b3015
BLAKE2b-256 b054c9ce38641ecb6de289356c394fc6643547ab4a63d80e01d754e4d33e72c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page