@@ -394,15 +394,19 @@ rule af_trajectory_panel_plot:
394394
395395rule pairwise_trajectory_correlation_data :
396396 conda : "../envs/renv.yaml"
397+ params :
398+ cor_method = config ["COR" ]["METHOD" ],
399+ cor_use = "pairwise.complete.obs" ,
397400 input :
398401 variants = OUTDIR / f"{ OUTPUT_NAME } .variants.all_sites.tsv" ,
399402 metadata = config ["METADATA" ],
400403 output :
401- table = report (REPORT_DIR_TABLES / "pairwise_trajectory_correlation.csv" ),
404+ table = REPORT_DIR_TABLES / "pairwise_trajectory_frequency_data.csv" ,
405+ matrix = report (REPORT_DIR_TABLES / "pairwise_trajectory_correlation_matrix.csv" ),
402406 log :
403407 LOGDIR / "pairwise_trajectory_correlation_data" / "log.txt"
404408 script :
405- "../scripts/pairwise_trajectory_correlation_data.R"
409+ "../scripts/report/ pairwise_trajectory_correlation_data.R"
406410
407411
408412rule summary_table :
@@ -436,7 +440,7 @@ rule report:
436440 temest = report (REPORT_DIR_PLOTS / "time_signal.png" ),
437441 evo = report (REPORT_DIR_PLOTS / "dn_and_ds.png" ),
438442 omega_plot = report (REPORT_DIR_PLOTS / "dnds.png" ),
439- heat_table = report (REPORT_DIR_TABLES / "pairwise_trajectory_correlation .csv" ),
443+ heat_table = report (REPORT_DIR_TABLES / "pairwise_trajectory_correlation_matrix .csv" ),
440444 freyja_ts = OUTDIR / "demixing" / "freyja_data" / "last_barcode_update.txt" ,
441445 value = REPORT_DIR_TABLES / "diversity.json" ,
442446 stats_lm = REPORT_DIR_TABLES / "time_signal.json" ,
0 commit comments