diff --git a/404.html b/404.html index 1e5933b..f38c5a9 100644 --- a/404.html +++ b/404.html @@ -31,7 +31,7 @@ cevomod - 2.3.0 + 2.4.0 diff --git a/LICENSE.html b/LICENSE.html index e445de3..a58bfa4 100644 --- a/LICENSE.html +++ b/LICENSE.html @@ -10,7 +10,7 @@ cevomod - 2.3.0 + 2.4.0 diff --git a/articles/cevodata_class.html b/articles/cevodata_class.html index d6c0f7f..54e6bd7 100644 --- a/articles/cevodata_class.html +++ b/articles/cevodata_class.html @@ -33,7 +33,7 @@ cevomod - 2.3.0 + 2.4.0 diff --git a/articles/fitting_models.html b/articles/fitting_models.html index b4e6b21..bcadff6 100644 --- a/articles/fitting_models.html +++ b/articles/fitting_models.html @@ -33,7 +33,7 @@ cevomod - 2.3.0 + 2.4.0 @@ -244,9 +244,9 @@ Binomial components#> # A tibble: 4 × 8 #> sample_id mutation_rate_williams component N_mutations subclone_frequency #> <chr> <dbl> <chr> <int> <dbl> -#> 1 Sample 3 104. Subclone 1 724 0.982 -#> 2 Sample 3 104. Subclone 2 784 0.232 -#> 3 Sample 4 78.8 Subclone 1 821 0.998 +#> 1 Sample 3 104. Subclone 1 725 0.982 +#> 2 Sample 3 104. Subclone 2 784 0.234 +#> 3 Sample 4 78.8 Subclone 1 824 0.998 #> 4 Sample 4 78.8 Subclone 2 366 0.177 #> # ℹ 3 more variables: emergence_time <dbl>, time_end <dbl>, selection <dbl> @@ -332,17 +332,17 @@ Bootstrapping#> # A tibble: 4 × 9 #> resample_id sample_id model component A alpha convergence value best #> <chr> <chr> <chr> <chr> <dbl> <dbl> <int> <dbl> <lgl> -#> 1 Bootstrap1 Sample 1 bs_model powerlaw t… 59.9 1.88 0 982. TRUE -#> 2 Bootstrap2 Sample 1 bs_model powerlaw t… 50.1 1.94 0 927. TRUE -#> 3 Bootstrap1 Sample 3 bs_model powerlaw t… 106. 2.04 0 1598. TRUE -#> 4 Bootstrap2 Sample 3 bs_model powerlaw t… 104. 2.05 0 1587. TRUE +#> 1 Bootstrap1 Sample 1 bs_model powerlaw t… 54.7 1.91 0 938. TRUE +#> 2 Bootstrap2 Sample 1 bs_model powerlaw t… 38.5 2.02 0 877. TRUE +#> 3 Bootstrap1 Sample 3 bs_model powerlaw t… 104. 2.04 0 1529. TRUE +#> 4 Bootstrap2 Sample 3 bs_model powerlaw t… 109. 2.03 0 1587. TRUE get_models(cd, "bs_model") #> # A tibble: 2 × 9 #> sample_id model component A A.lower A.upper alpha alpha.lower alpha.upper #> <chr> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> -#> 1 Sample 1 bs_mo… powerlaw… 55.0 50.3 59.7 1.91 1.88 1.93 -#> 2 Sample 3 bs_mo… powerlaw… 105. 104. 105. 2.04 2.04 2.05 +#> 1 Sample 1 bs_mo… powerlaw… 46.6 38.9 54.3 1.96 1.91 2.02 +#> 2 Sample 3 bs_mo… powerlaw… 106. 104. 109. 2.03 2.03 2.04 Resampled models can be plotted in the same way as non-resampled models using the plot_models() function. diff --git a/articles/fitting_models_files/figure-html/unnamed-chunk-5-1.png b/articles/fitting_models_files/figure-html/unnamed-chunk-5-1.png index f587bc9..354b71b 100644 Binary files a/articles/fitting_models_files/figure-html/unnamed-chunk-5-1.png and b/articles/fitting_models_files/figure-html/unnamed-chunk-5-1.png differ diff --git a/articles/get_started.html b/articles/get_started.html index b9e5108..14c788a 100644 --- a/articles/get_started.html +++ b/articles/get_started.html @@ -33,7 +33,7 @@ cevomod - 2.3.0 + 2.4.0 @@ -484,10 +484,10 @@ Evolutionary parameters#> # A tibble: 4 × 8 #> sample_id mutation_rate_williams component N_mutations subclone_frequency #> <chr> <dbl> <chr> <int> <dbl> -#> 1 Sample 3 104. Subclone 1 724 0.982 -#> 2 Sample 3 104. Subclone 2 785 0.236 -#> 3 Sample 4 78.8 Subclone 1 824 1.00 -#> 4 Sample 4 78.8 Subclone 2 366 0.183 +#> 1 Sample 3 104. Subclone 1 725 0.981 +#> 2 Sample 3 104. Subclone 2 785 0.232 +#> 3 Sample 4 78.8 Subclone 1 824 0.998 +#> 4 Sample 4 78.8 Subclone 2 366 0.178 #> # ℹ 3 more variables: emergence_time <dbl>, time_end <dbl>, selection <dbl>
get_models(cd, "bs_model") #> # A tibble: 2 × 9 #> sample_id model component A A.lower A.upper alpha alpha.lower alpha.upper #> <chr> <chr> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> -#> 1 Sample 1 bs_mo… powerlaw… 55.0 50.3 59.7 1.91 1.88 1.93 -#> 2 Sample 3 bs_mo… powerlaw… 105. 104. 105. 2.04 2.04 2.05
Resampled models can be plotted in the same way as non-resampled models using the plot_models() function.
plot_models()