Analysis: 20250613

!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/20250613-cytation3-pure-timecourse-gfp-EXPERIMENT-biotek-cdk.txt", "20250613-PPK Mg Opt platemap.csv")

Basic Plots

Kinetics

Kinetic time traces of every well on the plate

pr.plot_curves(data);
<Figure size 622.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.

replace_dict = {'14 mM Mg':'14 mM',
                '16 mM Mg':'16 mM',
                '18 mM Mg':'18 mM',
                '20 mM Mg':'20 mM',
               }

data['Name'] = data['Name'].replace(replace_dict)

p = pr.plot_steadystate(data,)
plt.xlabel('[Mg++]')
p.savefig("plot7")
<Figure size 611.111x400 with 1 Axes>

Kinetics Analysis

These functions calculate key kinetic parameters of the time series.

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

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

pr.kinetic_analysis(data)