MyNixOS website logo
Description

Analyses of Circadian Data.

Uses non-linear regression to statistically compare two circadian rhythms. Groups are only compared if both are rhythmic (amplitude is non-zero). Performs analyses regarding mesor, phase, and amplitude, reporting on estimates and statistical differences, for each, between groups. Details can be found in Parsons et al (2020) <doi:10.1093/bioinformatics/btz730>.

DOI CRAN downloads R-CMD-check License: MIT

circacompare

circacompare is an R package that allows for the statistical analyses and comparison of two circadian rhythms. This work is published here and can be cited as:

Rex Parsons, Richard Parsons, Nicholas Garner, Henrik Oster, Oliver Rawashdeh, CircaCompare: A method to estimate and statistically support differences in mesor, amplitude, and phase, between circadian rhythms, Bioinformatics, https://doi.org/10.1093/bioinformatics/btz730

There have been several improvements to the package since initial release. In addition to what was available in 1.0.0 and described in the publication, the package offers approaches to:

  • Perform analysis on a single rhythmic dataset to estimate its mesor, amplitude and phase.
  • Choose to use a known period (user-determined) or to let the model estimate the period from the data.
  • Add parameters to estimate the exponential decay in any of the rhythmic characteristics.
  • Use a mixed-model instead of a fixed effects model to take into account within-subject correlation regarding any set of rhythmic parameters.
  • Perform a comparison between groups all or a subset of rhythmic characteristics.

Please see the vignette for full details examples of these features.

browseVignettes(package="circacompare")

Installation

Installing from CRAN

install.packages("circacompare")

Installing development version from GitHub

If you have not done so already, install devtools using the following code:

install.packages("devtools")

Then install circacompare directly using the following code:

devtools::install_github("RWParsons/circacompare")

Help

Once loaded into R, load the documentation using ?circacompare. As per the example, you can use the other function, make_data, to generate example data appropriate for use in the circacompare function.

If you're having further troubles or suggestions for improvement, please create an issue or email me ([email protected]).

ShinyR application

An implementation of the circacompare program is available as a Shiny app here: https://rwparsons.shinyapps.io/circacompare/ The data uploaded should be in csv format. The file which you upload ought to have columns for:

  1. a time variable (which should be numeric and in hours)
  2. a grouping variable (which can be of any format but must have only two possible values)
  3. an outcome variable (which should be numeric)

Upload your csv file and select the respective columns from the dropdown menu. Click 'run' to conduct the comparison.

Python implementation

An implementation of this package in Python is available here. This package comes with the added functionality of specification for the loss function.

Metadata

Version

0.2.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows