ropensci / software-review

rOpenSci Software Peer Review.
286 stars 104 forks source link

Presubmission Inquiry: GLMMcosinor #601

Closed RWParsons closed 10 months ago

RWParsons commented 10 months ago

Submitting Author Name: Rex Parsons Submitting Author Github Handle: !--author1-->@RWParsons<!--end-author1-- Other Package Authors Github handles: (comma separated, delete if none) @oliverjayasinghe, @nicolemwhite Repository: https://github.com/RWParsons/GLMMcosinor Submission type: Pre-submission Language: en


Type: Package
Package: GLMMcosinor
Title: Fit a cosinor model using a generalised mixed modelling framework
Version: 0.0.9000
Authors@R: c(
    person("Rex", "Parsons", , "rex.parsons94@gmail.com", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-6053-8174")),
    person("Oliver", "Jayasinghe", role = "aut"),
    person("Nicole", "White", role = "aut",
           comment = c(ORCID = "0000-0002-9292-0773"))
  )
Description: Fit the cosinor model using the glmmTMB framework, allowing
    for a wide range of link functions and capacity of heirachical
    structures.
License: GPL (>= 3)
URL: https://github.com/RWParsons/GLMMcosinor,
    https://rwparsons.github.io/GLMMcosinor/
BugReports: https://github.com/RWParsons/GLMMcosinor/issues
Imports:
    assertthat,
    cowplot,
    ggforce,
    ggplot2,
    glmmTMB,
    lme4,
    rlang,
    scales,
    stats
Suggests:
    covr,
    dplyr,
    DT,
    flextable,
    ftExtra,
    knitr,
    rmarkdown,
    testthat (>= 3.0.0),
    vdiffr,
    withr
VignetteBuilder: 
    knitr
Config/testthat/edition: 3
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE, roclets = c ("namespace", "rd",
    "srr::srr_stats_roclet"))
RoxygenNote: 7.2.3

Scope

GLMMcosinor is a package that makes fitting (cosinor) regression models easy and via the glmmTMB framework.

Yes, the standards are included in the relevant Roxygen skeletons.

People analysing rhythmic/circular data - for example, circadian biologists.

While there are a few existing R packages that help the user fit a cosinor or nonlinear model to circular data, none in R (but two in python but are limited to count data-related link functions) use a generalised framework, only one ({circacompare}, but fits a nonlinear model, not a cosinor model) allows the specification of a mixed model, very few allow the user to specify other covariates in the model or interaction terms on the cosinor components, and none include all of these features together. GLMMcosinor achieves this by using glmmTMB under the hood rather than lm() (as, for example, {cosinor} does). We have also developed functions to visualise the cosinor components in either polar or time series plots.

The README of the repository shows a table comparing available softare.

NA

NA

noamross commented 10 months ago

Thank you for your presubmission @RWParsons! Yes, this package makes sense as a submission under the Statistical Regression and Supervised Learning category. We welcome a full submissiom.