File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ stats <- append(
7777)
7878correlation <- stats[["r2"]]
7979sub_rate <- stats[["sub_rate"]]
80- sub_rate <- display.num(sub_rate, 2)
8180p_value_lm <- stats[["pvalue"]]
8281
8382# NV counts
@@ -262,7 +261,7 @@ frequency-weighted distances.](`r params$tree`){#fig-tree}
262261To estimate the evolutionary rate, root-to-tip distances measured on the previous
263262tree (@fig-tree ) have been correlated with time, obtaining a $R^2$ of
264263$` r display.num(correlation, 4) ` $ and a p-value of $` r p_value_lm ` $. The estimated evolutionary
265- rate is $` r sub_rate ` $ number of changes per year (@fig-tempest ).
264+ rate is $` r display.num( sub_rate, 2) ` $ changes per year (@fig-tempest ).
266265
267266![ Scatterplot depicting the relationship between root-to-tip
268267distances and the number of days passed since the first sample. The solid
You can’t perform that action at this time.
0 commit comments