Analysis: 20250616

!pip install nucleus-cdk | tail -n2
from cdk.analysis.cytosol import platereader as pr
import matplotlib.pyplot as plt
import warnings

# Filter warnings
warnings.filterwarnings('ignore')

# Initialize plotting
pr.plot_setup()

Load the data

Provide a CSV file containing the data, and a platemap. This function returns both the data with the plate map mapped to it, and the platemap by itself, which is useful for certain tasks.

data, platemap = pr.load_platereader_data("./data/20250616-160504-cytation5-pure-timecourse-gfp-ppk-cp-biotek-cdk.txt", "20250616-PPK CP-CK platemap.csv")

Basic Plots

Kinetics

Kinetic time traces of every well on the plate

p = pr.plot_curves(data, palette="colorblind")
p.savefig("plot1-timeseries")
<Figure size 826.875x500 with 1 Axes>

Steady state

Bar graph of steady-state endpoint of each sample. Steady state is calculated as the maximum fluorescence value over a 3-sample rolling average on the data.

p1= pr.plot_steadystate(data, palette="colorblind")
plt.xlabel("Condition")
p1.savefig("plot2-endpoint")
<Figure size 600x400 with 1 Axes>

Kinetics Analysis

These functions calculate key kinetic parameters of the time series.

pr.plot_kinetics(data)
<Figure size 1800x800 with 5 Axes>

We can also calculate the kinetics and display the parameters as a table.

pr.kinetic_analysis(data)