@@ -236,32 +236,6 @@ def main():
236236 palette = ["#8069EC" , "#EA822C" ]
237237 plot_crty (fig_fp , crty_df , class_labels , xlabel = xlabel , ylabel = ylabel , figsize = (24 , 20 ), lsizes = lsizes , ylim = ylim , xlog = True , leg_loc = "upper left" , palette = palette )
238238
239- ## Plot Each Rep ##
240- class_dps = [
241- "/home/phuong/data/phd-project/1--biosensor/0--ddFP/" ,
242- "/home/phuong/data/phd-project/1--biosensor/1--LOV/0--I427V/" ,
243- "/home/phuong/data/phd-project/1--biosensor/1--LOV/1--V416I/" ,
244- "/home/phuong/data/phd-project/1--biosensor/2--intensity/0--LOVfast-BL20uW/" ,
245- "/home/phuong/data/phd-project/1--biosensor/2--intensity/1--LOVfast-BL200uW/" ,
246- "/home/phuong/data/phd-project/1--biosensor/3--iLID/0--I427V/" ,
247- "/home/phuong/data/phd-project/1--biosensor/3--iLID/1--V416I/" ,
248- "/home/phuong/data/phd-project/1--biosensor/4--linker/0--iLIDslow-13AA/" ,
249- "/home/phuong/data/phd-project/1--biosensor/4--linker/1--iLIDslow-20AA/" ,
250- "/home/phuong/data/phd-project/1--biosensor/5--decoder/0--sparse-ddFP/" ,
251- ]
252- for class_dp in [Path (dp ) for dp in class_dps ]:
253- for rep_dp in [dp for dp in natsorted (class_dp .glob ("*" )) if dp .is_dir ()]:
254- y_csv_fp = rep_dp / "results" / "y.csv"
255- ty_df = pd .read_csv (y_csv_fp )
256- ty_df = calc_dF_F0 (ty_df )
257- ty_df ["c" ] = np .zeros (len (ty_df ), dtype = int )
258- class_labels = ["y" ]
259- xlabel = "Time (s)"
260- ylabel = r"$\mathbf{\Delta F/F_{0}}$"
261- palette = ["#8069EC" ]
262- fig_fp = rep_dp / "results" / "y.png"
263- plot_crty (fig_fp , ty_df , class_labels , xlabel = xlabel , ylabel = ylabel , tu_df = None , palette = palette )
264-
265239 ## Figure 2C ##
266240 fig_fp = "/home/phuong/data/phd-project/figures/fig_2c.png"
267241 class_dps = [
0 commit comments