pm21-dragon/exercises/source/exercise-07/plot_pcr_data.py
2024-11-29 08:39:51 +01:00

10 lines
269 B
Python

import sys
import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
csv_filename = sys.argv[1]
df = pd.read_csv(csv_filename)
sns.lineplot(data=df, x="cycle", y="fluorescence", hue="well")
png_filename = csv_filename + ".png"
plt.savefig(png_filename)