Changelog
Source:NEWS.md
eggla 1.0.3
Fixes
- In
R/*_aucs.R
,R/*_slopes.R
,- fix: sort rows by IDs (#127, thanks @DrGengWang).
- fix: ensure denominator’s length depends on the number of knots. (#127, thanks @DrGengWang)
eggla 1.0.2
eggla 1.0.1
Build
- In
DESCRIPTION
,- build: add
growthcleanr
GitHub repository as remote.
- build: add
Full Changelog: https://github.com/mcanouil/eggla/compare/v1.0.0…v1.0.1
eggla 1.0.0
Build
- In
inst/bin
,- build: update PLINK2 to 5th of January 2024 version (Linux 64-bit build).
- In
.github
,- build: upgrade BCFtools to 1.19.
- build: upgrade R to 3.4.2.
- In
DESCRIPTION
,- build: upgrade R packages to latest versions.
Chores
- In
inst/CITATION
,- chore: convert CFF to
bibentry
.
- chore: convert CFF to
- In
citation.cff
,- chore: update citation file.
- In
R/gsp.R
,- chore: add
@export
for S3 method.
- chore: add
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.20.0…v1.0.0
eggla 0.20.0
Chores
- In
.github
,- chore: update infrastructure based on Devcontainer.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.19.6...v0.19.7
eggla 0.19.6
Fixes
- In
R/run_eggla_gwas.R
,- fix: GWAS results are now exported as a tab-delimited compressed file (i.e.,
txt.gz
).
- fix: GWAS results are now exported as a tab-delimited compressed file (i.e.,
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.19.5...v0.19.6
eggla 0.19.5
Fixes
- In
R/egg_model.R
,- fix: turns warnings into errors when fitting the model for the first time.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.19.4...v0.19.5
eggla 0.19.4
Fixes
- In
R/on_attach.R
,R/plot_aucs.R
,R/plot_egg_aucs.R
,R/predict_bmi.R
,R/run_eggla_gwas.R
,R/run_eggla_lmm.R
,- fix: linters warnings.
- In
R/egg_model.R
,- fix: in case or error, also increase the umber of EM iterations.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.19.3...v0.19.4
eggla 0.19.3
Fixes
- In
R/run_eggla_gwas.R
,- fix: update commands to get version.
- fix: ‘ax’ replaced with ‘omitted’ in PLINK2 output.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.19.2...v0.19.3
eggla 0.19.2
Chores
- In
inst/CITATION
,- chore: convert to
bibentry
.
- chore: convert to
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.19.1...v0.19.2
eggla 0.19.1
Docs
- In
R/eggla-packages.R
,- docs: update domain.
- In
R/run_eggla_gwas.R
,- docs: update missing argument.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.19.0...v0.19.1
eggla 0.19.0
Fixes
- In
R/run_eggla_gwas.R
,- fix: update path to files in example.
- fix: check for samples in VCF files.
- fix: leading zeros in IDs in dataset were removed.
- fix: use PLINK2 to compute HWE P-value, N, alleles frequencies, and missing rate.
- fix: use PLINK2 to compute MACH_R2 imputation score.
- fix: use
vep_file
as the top level parameter instead ofvep
. - fix: remove
--mach-r2-filter
PLINK2 option.
- In
R/plot_aucs.R
,R/plot_egg_aucs.R
, andR/run_eggla_lmm.R
,- fix:
groupOnX
argument ofgeom_quasirandom()
is deprecated as of ggbeeswarm 0.7.1.
- fix:
- In
R/plot_slopes.R
andR/plot_egg_slopes.R
,- fix: using
size
aesthetic for lines was deprecated.
- fix: using
- In
R/run_eggla_lmm()
, - In
R/compute_apar.R
,R/compute_outliers.R
,R/egg_correlations.R
,R/egg_outliers.R
, andR/predict_bmi.R
,- fix: update step parameter for adiposity peak/rebound prediction. (#98)
Chores
- chore: split
.devcontainer
settings into a separate repositories, i.e.,.vscode
and.devcontainer
.
Build
- build: upgrade PLINK2 and BCFtools to latest versions.
- build: update R packages to latest versions.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.18.5...v0.19.0
eggla 0.18.5
- In
R/egg_correlations.R
,- docs: fix wrong return value in documentation.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.18.4...v0.18.5
eggla 0.18.4
Chores
- In
DESCRIPTION
,- chore: update email address.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.18.3...v0.18.4
eggla 0.18.3
Fixes
- In
R/run_eggla_gwas.R
,- fix: HWE_P should be NA for imputed variants.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.18.2...v0.18.3
eggla 0.18.2
Fixes
- In
R/egg_correlations.R
andR/run_eggla_lmm.R
,- fix: parameters table not properly filtered and omitting missing values.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.18.1...v0.18.2
eggla 0.18.1
Fixes
- In
R/run_eggla_gwas.R
,- fix: info_type description given to genotyped variants.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.18.0...v0.18.1
eggla 0.18.0
Features
- In
R/run_eggla_lmm.R
andR/egg_correlations.R
,- feat: perform correlations between all parameters.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.17.5...v0.18.0
eggla 0.17.5
Style
- In
vignettes/articles/adiposity-peak-rebound.Rmd
,- style: remove top ticks for AP/AR.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.17.4...v0.17.5
eggla 0.17.4
Fixes
- In
R/run_eggla_gwas.R
,- fix: rename R2 to INFO if exists.
- In
vignettes/articles/models-diagnostics.Rmd
,- revert: set back knots to original values for diagnostics.
- fix: hardcode performance metrics to avoid changes due to
performance
updates. - fix: eval to FALSE to set w/o AR1.
Style
- In
vignettes/articles/adiposity-peak-rebound.Rmd
,vignettes/articles/run-cubic-splines.Rmd
, andvignettes/articles/models-diagnostics.Rmd
,- style: homogenise all figures with the new theme.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.17.3...v0.17.4
eggla 0.17.3
Fixes
- In
R/run_eggla_lmm.R
,- fix: order derived parameter for outlier figure.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.17.2...v0.17.3
eggla 0.17.2
Fixes
- In
R/compute_apar.R
,- fix: update filter that removed all AR estimates and add a control for AR > AP.
- In
vignettes/articles/adiposity-peak-rebound.Rmd
,- fix: missplaced parenthesis.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.17.1...v0.17.2
eggla 0.17.1
Fixes
- In
R/compute_outliers.R
,R/egg_outliers.R
, andR/run_eggla_lmm.R
,- fix: only allow one value for
outlier_method
.
- fix: only allow one value for
- In
R/plot_egg_slopes.R
andR/plot_slopes.R
,- fix: uses GAM with cubic splines every time.
Style
- style: set default
ggplot2
theme to a modified version oftheme_minimal()
and colour/fill scales to “viridis”. - style: use Okabe Ito colour palette.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.17.0...v0.17.1
eggla 0.17.0
Features
- In
R/run_eggla_lmm.R
,R/compute_outliers.R
, andR/egg_outliers.R
,- feat: new arg to pass on the outlier method.
- feat: new arg to pass on the outlier method threshold.
- feat: now exclude flagged outliers by setting their values to NA.
Chores
- In
pkgdown/_pkgdown.yml
,- style: separate the
run_eggl_*()
functions from the rest.
- style: separate the
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.16.0...v0.17.0
eggla 0.16.0
Fixes
- In
R/compute_outliers.R
andR/egg_outliers.R
,- fix: id column matching across parameters now properly works.
- In
R/run_eggla_gwas.R
,- fix: CRAN checks notes.
- In
R/compute_apar.R
,R/plot_aucs.R
,R/plot_egg_aucs.R
,R/plot_egg_slopes.R
,R/plot_residuals.R
,R/plot_slopes.R
,vignettes/articles/adiposity-peak-rebound.Rmd
,vignettes/articles/model-selection.Rmd
,vignettes/articles/models-diagnostics.Rmd
, andvignettes/articles/run-cubic-splines.Rmd
,- fix: standardise
ggplot
default theme and fixgt
tables.
- fix: standardise
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.15.0...v0.16.0
eggla 0.15.0
Features
- In
R/compute_outliers.R
andR/egg_outliers.R
,- feat: now detects outliers for all slopes together, all AUCs together and for individual slopes, AUCs, AP (BMI and age), and AR (BMI and age).
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.14.0...v0.15.0
eggla 0.14.0
Features/Fixes
- In
R/run_eggla_lmm.R
,- feat: add diagnostics output to a “to-send” folder to avoid mistakenly send individual-level data.
- In
R/run_eggla_gwas.R
,- fix: now uses the filled INFO field of VCF and compute required columns for meta-analysis.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.13.1...v0.14.0
eggla 0.13.1
Chores
- In
pkgdown/_pkgdown.yml
,- chore: update template to “minty”.
Full Changelog: https://github.com/mcanouil/eggla/compare/v0.13.0...v0.13.1
eggla 0.13.0
Breaking changes
- In
R/*.R
,- fix:
knots
default value is nowc(1, 8, 12)
.
- fix:
- In
R/run_eggla_gwas.R
,- refactor:
path
argument has been renamedworking_directory
for consistency withrun_eggla_lmm()
.
- refactor:
Features
- In
R/compute_apar.R
andR/predict_bmi.R
,- feat:
filter
argument filter predicted values table in case of multiple measurements.
- feat:
- In
R/run_eggla_lmm.R
,- feat:
filter_apar
argument to be passed tocompute_apar()
andpredict_bmi()
.
- feat:
- In
R/run_eggla_gwas.R
,- feat: now performs GWAS of BMI and age at adiposity peak and rebound in addition to slopes and AUCs.
- feat: now has a
clean
argument which clean intermediary files stored inworking_directory
. - feat: new
use_info
argument to indicate if INFO field should be extracted (default isFALSE
).
Fixes
- In
R/run_eggla_lmm.R
,- fix: now checks if IDs are unique.
- fix: properly export BMI and age at adiposity peak and rebound.
- fix: PLINK2 and BCFTools binary path checks.
- In
R/run_eggla_gwas.R
,- fix: now check for individuals in common between phenotypes and genotypes before processing the VCF files.
- In
DESCRIPTION
,- fix: move some packages from
suggests
toimports
(e.g.,ggtext
,ggdist
, etc.) - fix: now uses
growthcleaner
from CRAN.
- fix: move some packages from
Chores
- In
.devcontainer
andinst/setup
,- refactor: improve Docker build process and add
devcontainer
ability.
- refactor: improve Docker build process and add
- In
pkgdown/_pkgdown.yml
,- refactor: reorder sections to focus on the main functions first.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.12.3...v0.13.0>
eggla 0.12.3
Fixes
- In
R/run_eggla_gwas.R
,- fix: BCFtools filters as parameter with non by default.
- fix: ensure ‘id_column’ is of type character.
Chores
- In
insta/vcf
anddata-raw/bmigrowth.R
,- chore: add VCF files to test
run_eggla_gwas()
.
- chore: add VCF files to test
Tests
- In
inst/setup/eggla-example.R
,- test: add run_eggla_gwas in docker build test example.
- In
tests/testthat/test-run_eggla.R
,- test: new tests for run_eggla functions.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.12.2...v0.12.3>
eggla 0.12.2
Fixes
- In
R/run_eggla_gwas.R
,- fix: the condition has length > 1.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.12.1...v0.12.2>
eggla 0.12.1
Fixes
- In
R/run_eggla_gwas.R
,- fix: wrong variable in “results” input check condition.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.12.0...v0.12.1>
eggla 0.12.0
Fixes
- In
R/run_eggla_lmm.R
, - In
R/run_eggla_gwas.R
,- fix: allow to use directories path or zip archives as results (#41).
- fix: rename
results_zip
argument toresults
.
Style
- style: remove break line in badges section.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.11.2...v0.12.0>
eggla 0.11.2
Fixes
- fix: uses general Zenodo DOI.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.11.1...v0.11.2>
eggla 0.11.1
Fixes
- In
vinettes/eggla.Rmd
,- fix: uses
latest
moving tag.
- fix: uses
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.11.0...v0.11.1>
eggla 0.11.0
Breaking changes
-
run_eggla()
has been renamed torun_eggla_lmm()
. -
do_eggla_gwas()
has been renamed torun_eggla_gwas()
.
Fixes
- In
R/run_eggla_lmm.R
,- fix: exclude rds from being included in archive.
- In
R/run_eggla_gwas.R
,- fix: improve and add messages.
- fix: ensure “data” is a data.frame or a path read in a data.frame.
- fix: allows binary path to be an actual binary path.
- fix: now returns results files path, input parameters zip file, and text file with software versions.
- fix: collapse vector of covariates into an atomic string to be added in the results files.
Tests
- In
tests/testhat
:- test: add tests for plot functions.
- test: add more tests for
time_model()
andegg_model()
. - test: add tests for
*_correlations()
and*_outliers()
functions.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.10.4...v0.11.0>
eggla 0.10.4
Fixes
- In
R/do_eggla_gwas.R
,- Fix: plink2 binary path modified outside download if statement.
- Fix: merge not cartesian by keeping only first measures of each individuals (#20).
- In
inst/setup/Dockerfile
,inst/setup/pkg.lock
,inst/setup/renv.lock
, anddata-raw/lock.R
,- Fix: add all
data.table
dependencies.
- Fix: add all
- In
R/
,tests/
, andvignettes/
,- fix: documentation consistency with code, i.e., replaced “AR1” with “CAR1” (#21).
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.10.3...v0.10.4>
eggla 0.10.3
Fixes
- In
inst/Dockerfile
,- Build: add PLINK2 and install all eggla’s dependencies, including
suggests
.
- Build: add PLINK2 and install all eggla’s dependencies, including
- In
R/do_eggla_gwas.R
,- Fix: no longer relies on URL for PLINK2 since only
alpha
dynamic URL remains.
- Fix: no longer relies on URL for PLINK2 since only
- In
vignettes/eggla.Rmd
:- Chore: remove unused
eval = FALSE
chunk option. - Fix: remove
renv
code in the Docker section. - Fix: set properly the working directory.
- Chore: remove unused
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.10.2...v0.10.3>
eggla 0.10.2
Fixes
- In
R/egg_model.R
,- Fix: try without CAR1 before reducing random effect. (#18)
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.10.1...v0.10.2>
eggla 0.10.1
Fixes
- In
R/egg_slopes.R
,R/plot_egg_slopes.R
,R/egg_aucs.R
, andR/plot_egg_aucs.R
,
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.10.0...v0.10.1>
eggla 0.10.0
Features
- In
R/predict_bmi.R
(#14),- Feat: new function to predict BMI from a
lme
model object, fromegg_model()
ortime_model()
.
- Feat: new function to predict BMI from a
Improvements
- Change default period to the following time windows for predicting ‘linear’ slopes from the model:
- 0-0.5 years (Infancy – same as previously).
- 1.5-3.5 years (Childhood – reduced the upper bound from 5 years).
- 6.5-10 years (Pre-pubertal – increased the lower bound from 6 years).
- 12-17 years (adolescence – same as previously).
Fixes
- In
R/compute_apar.R
(#14),- Fix:
grep
instead ofany
/grepl
. - Refactor: inherits params from
predict_bmi()
. - Fix: uses
predict_bmi()
internally.
- Fix:
- In
R/plot_slopes.R
, andR/plot_egg_slopes.R
,- Fix:
grep
instead ofany
/grepl
. - Fix: uses GAM ‘y ~ s(x, bs = “cr”)’.
- Fix:
- In
vignettes/articles/adiposity-peak-rebound.Rmd
;vignettes/articles/models-diagnostics.Rmd
, andvignettes/articles/run-cubic-splines.Rmd
(#14, #15),- Fix: uses GAM ‘y ~ s(x, bs = “cr”)’ and
predict_bmi()
.
- Fix: uses GAM ‘y ~ s(x, bs = “cr”)’ and
- In
vignettes/eggla.Rmd
,- Fix: “-it” instead of “–detach” for Docker command.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.9.1...v0.10.0>
eggla 0.9.1
Features
- In
R/egg_model.R
,R/egg_model.R
,R/run_eggla.R
, andR/do_eggla_gwas
,- Feat: add
quiet
to silent the messages.
- Feat: add
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.9.0...v0.9.1>
eggla 0.9.0
Features
- In
inst/setup/Dockerfile
,- Feat: add script example (
inst\setup\eggla-example.R
) to run on dataset included ineggla
.
- Feat: add script example (
- In
R/egg_model.R
,- Feat: allow to specify the knots for the splines, i.e., no longer hardcoded.
Fixes
- In
R/egg_model.R
,- Fix: hardcoded “ID” for individual specification in random effect.
- In
R/time_model.R
,- Fix: hardcoded “ID” for individual specification in random effect by adding
id_var
arg.
- Fix: hardcoded “ID” for individual specification in random effect by adding
- In
vignettes/eggla.Rmd
(renamed/moved fromvignettes/articles/run-eggla.Rmd
),- Fix: use
Rscript
instead ofR --no-save --no-restore --quiet
.
- Fix: use
Documents
- In
vignettes/eggla.Rmd
,- Docs: complete GWAS sections.
- Docs: add Docker section.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.8.1...v0.9.0>
eggla 0.8.1
Features
- In
inst/setup/Dockerfile
,- Feat: Docker image built automatically “devel” from “main” and “tag” from “releases”.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.8.0...v0.8.1>
eggla 0.8.0
Features
- In
R/compute_apar.R
,- Feat: allow to compute adiposity peak and adiposity rebound on raw data from a
"lme"
model object. - Refactor: rename arguments.
- Feat: allow to compute adiposity peak and adiposity rebound on raw data from a
- In
tests
,DESCRIPTION
,- Feat: now uses the third edition of
testthat
.
- Feat: now uses the third edition of
Build
- In
inst/setup
,- build: update lock files from
renv
andpak
based on local package.
- build: update lock files from
- In
data-raw/lock.R
,- build: update script to work on local version for both
renv
andpak
.
- build: update script to work on local version for both
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.7.0...v0.8.0>
eggla 0.7.0
Features
- In
R/compute_apar.R
,- Feat: Allows to define the range in which to compute adiposity peak and adiposity rebound.
- In
R/egg_model.R
,R/time_model.R
,- Feat: Allows to use (or not) AR(1) auto-correlation in the model, if
TRUE
(default:FALSE
), the function will try without if all models fail.
- Feat: Allows to use (or not) AR(1) auto-correlation in the model, if
Fixes
- In
vignettes/articles/run-eggla.Rmd
,vignettes/articles/models-diagnostics.Rmd
,- Fix: Uses CAR1 by default in vignettes, only to speed-up computation.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.6.1...v0.7.0>
eggla 0.6.1
Fixes
- In
R/compute_apar.R
,- Fix: returns only the first local maxima (adiposity peak) and minima (adiposity rebound).
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.6.0...v0.6.1>
eggla 0.6.0
New Feature
- In
R/do_eggla_gwas.R
:- Feat: Function to run GWAS on
eggla
results using PLINK2 (and BCFtools).
- Feat: Function to run GWAS on
- In
vignettes/articles/run_eggla
,- Feat: Add “GWAS” step.
- Refactor: use “R EOF” syntax.
Fixes
- In
R/run_eggla.R
:- Fix: Rename (add “s”) AUCs csv output file for consistency.
- Docs: Add missing documentation for parameters.
- In
R/plot_slopes.R
:- Fix: hardcoded “age” variable.
- Fix: ignore case in variable search.
- In
R/plot_egg_slopes.R
:- Fix: hardcoded “age” variable.
- Fix: ignore case in variable search.
- In
R/compute_apar.R
:- Fix: ignore case in variable search.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.5.2...v0.6.0>
eggla 0.5.2
- Fix:
renv::restore
issue withrenv.lock
from GitHub. - Fix: Update
pak
install command. - Chore: Upgrade lock files.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.5.1...v0.5.2>
eggla 0.5.1
- No longer uses
nlme::corCAR1(form = ~ 1 | ID)
in models. - Add Kimberley Burrows (@burrowsk) and Anni Heiskala as authors.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.5.0...v0.5.1>
eggla 0.5.0
- Improve/Polish documentation,
- Add title.
- Add/tweak description.
- Add code examples.
- In
R/egg_*.R
,- Add
random_complexity
parameter. - Remove _var arguments.
- Add
- In
R/compute_apar.R
,- New function to compute adiposity peak and adiposity rebound from a
lme
model object, such asegg_model
.
- New function to compute adiposity peak and adiposity rebound from a
- In
R/compute_aucs.R
,- Rename function for consistency, previously known as
compute_auc
.
- Rename function for consistency, previously known as
- In
R/compute_slopess.R
,- Rename function for consistency, previously known as
predict_average_slopes
.
- Rename function for consistency, previously known as
- In
vignettes/articles
,- Add
01-models-diagnostics.Rmd
, to describe models testing and diagnostics. - Add
02-models-selection.Rmd
, to show how to perform models selection based on results frommodels-diagnostics.Rmd
. - Add
03-run-cubic-splines.Rmd
, to show how to run cubic splines models on the example dataset (previously inREADME.Rmd
). - Add
04-adiposity-peak-rebound.Rmd
, to identify/caracterise adiposity peak and adiposity rebound frommodels-diagnostics.Rmd
. - Add
99-run-eggla.Rmd
, to show how to run analysis interactively or not.
- Add
- In
R/plot_*.R
,- New functions to plot area under the curves and slopes.
- In
pkgdown/_pkgdown.yml
,- Polish website.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.4.4...v0.5.0>
eggla 0.4.4
- In
R/egg_model.R
,- Three cublic spline random effects formula are tested in the following order:
~ gsp(age, knots = c(2, 8, 12), degree = rep(3, 4), smooth = rep(2, 3)) | ID
~ gsp(age, knots = c(2, 8, 12), degree = rep(3, 4), smooth = rep(2, 3))[,1:3] | ID
~ gsp(age, knots = c(2, 8, 12), degree = rep(1, 4), smooth = rep(2, 3)) | ID
- Add message about which model is currently being computed.
- Three cublic spline random effects formula are tested in the following order:
- Add
pkgdown
website.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.4.3...v0.4.4>
eggla 0.4.3
- In
README.(R)md
,- Disable
renv
caching.
- Disable
- In
inst/model-diagnostics
,- Remove
ragg
dependency, usesgrDevices
instead.
- Remove
- In
inst/setup
,- Add Dockerfile.
- Use
pak
in addition torenv
.
- In
R/run_eggla.R
,- Remove
ragg
dependency, usesgrDevices
instead.
- Remove
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.4.2...v0.4.3>
eggla 0.4.2
- In
README.(R)md
,- Fix typo in
renv::init
calls.
- Fix typo in
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.4.1...v0.4.2>
eggla 0.4.1
- In
README.(R)md
,- Add
renv
cleaning in bash example script. - Add setup for both interactive and non-interactive use.
- Add
- In
R/run_eggla.R
,- Switch from
svglite
toragg
to avoid issues with high number of elements. - Fix
id_var
which was not set withid_var = "egg_id"
internally.
- Switch from
- In
DESCRIPTION
,- Switch from
svglite
toragg
to avoid issues with high number of elements.
- Switch from
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.4.0...v0.4.1>
eggla 0.4.0
- In
README.(R)md
,- Add table of content.
- Add Bash script to run everything.
- In
inst/setup
,- Add
renv.lock
file to list dependencies with version and help install or restore them.
- Add
- In
R/egg_model.R
,- Mixed model selected inside a helper/wrapper function.
- In
R/run_eggla.R
,- Compute quaility-control for BMI.
- Compute modelling.
- Write model object.
- Write derived parameters.
- Generate residuals plot.
- In
R/time_model.R
,- Fix model specification where additional covariates were not properly added to the model formula.
- In
R/plot_residuals.R
,- Fix hardcoded variable, i.e., “age”.
- In
inst/models-diagnostics
,-
models-diagnostics.R
, R script to compute different models and extract performance metrics. -
models-best.R
, R script to compare models performance frommodels-diagnostics.R
. -
models-adiposity.R
, R script to compare predicted BMI values to check for the “adiposity peak”.
-
- In
R
,- Remove trailing spaces.
- Comment code not used.
- Add missing documentation.
- In
LICENSE
,- Add Nicole Warrington.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.3.0...v0.4.0>
eggla 0.3.0
- In
R/time_model.R
,- Add fall back (simpler random effect) models for “cubic_splines”, “cubic_slopes” and “linear_splines”.
- Fix typos in messages.
- Model call is printed as message.
- In
inst/rmarkdown/templates/eggla/skeleton/skeleton.Rmd
,- Add Daymont flag exclusion argument and control before modelling step.
- Summary table and models use
covariates
parameter. - Uses “sex” coded as
1
for male and0
for female. - Small code refactoring.
- Use
performance
to compare models. - Add
summary_variables
parameter to show in the summary table. - Decrease font size in Daymont’s QC summary table .
- Fix numbers in the summary table.
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.2.0...v0.3.0>
eggla 0.2.0
- In
R/time_model.R
,- Fix output when using
as_text = TRUE
. - Add
cov
to allow additional covariates.
- Fix output when using
- In
inst/rmarkdown/templates/eggla/skeleton/skeleton.Rmd
,- Add
cov
to allow additional covariates.
- Add
Full Changelog: <https://github.com/mcanouil/eggla/compare/v0.1.0...v0.2.0>