Skip to content

Commit d1351d7

Browse files
committed
Update demixing names
1 parent 578fb6f commit d1351d7

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

template.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ params:
2525
use_bionj: ""
2626
cor_method: ""
2727
div: ""
28-
freyja: ""
28+
demix: ""
2929
tree: ""
3030
tempest: ""
3131
SNV: ""
@@ -148,10 +148,10 @@ table %>%
148148
### Lineage admixture
149149

150150
The lineage admixture for each sample has been estimated
151-
using [Freyja](https://github.com/andersen-lab/Freyja).
151+
using [Freyja](https://github.com/andersen-lab/Freyja) (@fig-demix).
152152

153153
![Estimated lineage admixture of each sample (Freyja barcode timestamp: `r freyja.timestamp`).
154-
Samples in the X-axis are ordered chronologically, from more ancient to newer.](`r params$freyja`){#fig-freyja}
154+
Samples in the X-axis are ordered chronologically, from more ancient to newer.](`r params$demix`){#fig-demix}
155155

156156
### Phylogenetic reconstruction
157157

workflow/rules/report.smk

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,31 +49,31 @@ rule diversity:
4949
"../scripts/report/diversity_plot.R"
5050

5151

52-
rule freyja_plot_data:
52+
rule demix_plot_data:
5353
conda: "../envs/renv.yaml"
5454
input:
5555
summary_demixing = OUTDIR/"demixing"/"summary.csv",
5656
metadata = config["METADATA"]
5757
output:
58-
data = report(REPORT_DIR_TABLES/"freyja.csv")
58+
data = report(REPORT_DIR_TABLES/"demix.csv")
5959
log:
60-
LOGDIR / "freyja_plot_data" / "log.txt"
60+
LOGDIR / "demix_plot_data" / "log.txt"
6161
script:
62-
"../scripts/report/freyja_plot_data.R"
62+
"../scripts/report/demix_plot_data.R"
6363

6464

65-
rule freyja_plot:
65+
rule demix_plot:
6666
conda: "../envs/renv.yaml"
6767
params:
6868
design = config["PLOTS"]
6969
input:
70-
data = REPORT_DIR_TABLES/"freyja.csv"
70+
data = REPORT_DIR_TABLES/"demix.csv"
7171
output:
72-
plot = report(REPORT_DIR_PLOTS/"freyja.png")
72+
plot = report(REPORT_DIR_PLOTS/"demix.png")
7373
log:
74-
LOGDIR / "freyja_plot" / "log.txt"
74+
LOGDIR / "demix_plot" / "log.txt"
7575
script:
76-
"../scripts/report/freyja_plot.R"
76+
"../scripts/report/demix_plot.R"
7777

7878

7979
rule general_NV_description:
@@ -186,7 +186,7 @@ rule report:
186186
shadow: "shallow"
187187
input:
188188
qmd = Path(config["REPORT_QMD"]).resolve(),
189-
freyja = report(REPORT_DIR_PLOTS/"freyja.png"),
189+
demix = report(REPORT_DIR_PLOTS/"demix.png"),
190190
tree_ml = report(REPORT_DIR_PLOTS/"figure_2.png"),
191191
diversity = report(REPORT_DIR_PLOTS/"figure_3.png"),
192192
fig_cor = report(REPORT_DIR_PLOTS/"figure_4.png"),
@@ -229,7 +229,7 @@ rule report:
229229
"use_bionj='{params.use_bionj}', "
230230
"cor_method='{params.cor_method}', "
231231
"div='{input.diversity}', "
232-
"freyja ='{input.freyja}', "
232+
"demix ='{input.demix}', "
233233
"tree = '{input.tree}', "
234234
"tempest = '{input.temest}', "
235235
"SNV = '{input.SNV}', "
File renamed without changes.

0 commit comments

Comments
 (0)