{
  "_id": "6a16bd86acfb0bcc41d874ac",
  "Package": "phase",
  "Title": "Analyse Biological Time-Series Data",
  "Version": "1.2.9",
  "Author": "Lakshman Abhilash [aut, cre]\n(<https://orcid.org/0000-0002-9933-8989>)",
  "Maintainer": "Lakshman Abhilash <labhilash@gc.cuny.edu>",
  "Authors@R": "person(given = \"Lakshman\",\nfamily = \"Abhilash\",\nrole = c(\"aut\", \"cre\"),\nemail = \"labhilash@gc.cuny.edu\",\ncomment = c(ORCID = \"https://orcid.org/0000-0002-9933-8989\"))",
  "Description": "Compiles functions to trim, bin, visualise, and analyse\nactivity/sleep time-series data collected from the Drosophila\nActivity Monitor (DAM) system (Trikinetics, USA). The following\nmethods were used to compute periodograms - Chi-square\nperiodogram: Sokolove and Bushell (1978)\n<doi:10.1016/0022-5193(78)90022-X>, Lomb-Scargle periodogram:\nLomb (1976) <doi:10.1007/BF00648343>, Scargle (1982)\n<doi:10.1086/160554> and Ruf (1999)\n<doi:10.1076/brhm.30.2.178.1422>, and Autocorrelation:\nEijzenbach et al. (1986)\n<doi:10.1111/j.1440-1681.1986.tb00943.x>. Identification of\nactivity peaks is done after using a Savitzky-Golay filter\n(Savitzky and Golay (1964) <doi:10.1021/ac60214a047>) to smooth\nraw activity data. Three methods to estimate anticipation of\nactivity are used based on the following papers - Slope method:\nFernandez et al. (2020) <doi:10.1016/j.cub.2020.04.025>,\nHarrisingh method: Harrisingh et al. (2007)\n<doi:10.1523/JNEUROSCI.3680-07.2007>, and Stoleru method:\nStoleru et al. (2004) <doi:10.1038/nature02926>. Rose plots and\ncircular analysis are based on methods from - Batschelet (1981)\n<ISBN:0120810506> and Zar (2010) <ISBN:0321656865>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 09:42:58 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2023-03-08 23:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/phase",
  "RemoteRef": "HEAD",
  "RemoteSha": "d8bba13e3602e2435298e17d65e200e2d4406990",
  "MD5sum": "47f4aee3f8d13e5f31c572a1006b8658",
  "_user": "cran",
  "_type": "src",
  "_file": "phase_1.2.9.tar.gz",
  "_fileid": "e66edb4c155dfd4fa0134a17a6e3bc792658cafd1fdfb2c874df1174b8afea6b",
  "_filesize": 339752,
  "_sha256": "e66edb4c155dfd4fa0134a17a6e3bc792658cafd1fdfb2c874df1174b8afea6b",
  "_created": "2026-05-27T09:42:58.000Z",
  "_published": "2026-05-27T09:46:46.129Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78050192374,
      "time": 190,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7237209766"
    },
    {
      "job": 78050192318,
      "time": 170,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7237203507"
    },
    {
      "job": 78049581533,
      "time": 221,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7237146133"
    },
    {
      "job": 78050192276,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7237190007"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26503425892",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/phase",
  "_commit": {
    "id": "d8bba13e3602e2435298e17d65e200e2d4406990",
    "author": "Lakshman Abhilash <labhilash@gc.cuny.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.9\n",
    "time": 1678317602
  },
  "_maintainer": {
    "name": "Lakshman Abhilash",
    "email": "labhilash@gc.cuny.edu",
    "orcid": "0000-0002-9933-8989"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "circular",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "signal",
      "role": "Imports"
    },
    {
      "package": "zeitgebr",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "behavr",
      "role": "Imports"
    },
    {
      "package": "wesanderson",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "shinythemes",
      "role": "Imports"
    },
    {
      "package": "shinydashboard",
      "role": "Imports"
    },
    {
      "package": "shinycssloaders",
      "role": "Imports"
    },
    {
      "package": "shinyFiles",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 205,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/phase"
  },
  "_mentions": 6,
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/phase.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.1.1",
      "date": "2021-07-02"
    },
    {
      "version": "1.1.2",
      "date": "2021-07-17"
    },
    {
      "version": "1.1.3",
      "date": "2021-08-06"
    },
    {
      "version": "1.2.1",
      "date": "2021-08-16"
    },
    {
      "version": "1.2.2",
      "date": "2022-09-25"
    },
    {
      "version": "1.2.3",
      "date": "2022-10-13"
    },
    {
      "version": "1.2.5",
      "date": "2022-10-26"
    },
    {
      "version": "1.2.6",
      "date": "2022-11-05"
    },
    {
      "version": "1.2.7",
      "date": "2022-11-16"
    },
    {
      "version": "1.2.8",
      "date": "2023-03-08"
    },
    {
      "version": "1.2.9",
      "date": "2023-03-09"
    }
  ],
  "_exports": [
    "allActograms",
    "allPeriodogramsAct",
    "allPeriodogramsSleep",
    "allSomnograms",
    "anticipationAct",
    "binData",
    "CoM",
    "indActogram",
    "indPeriodogramAct",
    "indPeriodogramSleep",
    "indSomnogram",
    "peakIdentifier",
    "profilesAct",
    "profilesSleep",
    "rosePlotsAct",
    "rosePlotsSleep",
    "sleepData",
    "sleepOnsetBoutLength",
    "sleepStages",
    "sleepStat",
    "transitionProbs",
    "trimData"
  ],
  "_datasets": [
    {
      "name": "df",
      "title": "Example DAM data",
      "object": "df",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "V22",
        "V23",
        "V24",
        "V25",
        "V26",
        "V27",
        "V28",
        "V29",
        "V30",
        "V31",
        "V32",
        "V33",
        "V34",
        "V35",
        "V36",
        "V37",
        "V38",
        "V39",
        "V40",
        "V41",
        "V42"
      ],
      "rows": 28234,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "allActograms",
      "title": "Generate actograms",
      "topics": [
        "allActograms"
      ]
    },
    {
      "page": "allPeriodogramsAct",
      "title": "Periodogram analysis for activity data",
      "topics": [
        "allPeriodogramsAct"
      ]
    },
    {
      "page": "allPeriodogramsSleep",
      "title": "Periodogram analysis for sleep data",
      "topics": [
        "allPeriodogramsSleep"
      ]
    },
    {
      "page": "allSomnograms",
      "title": "Generate actograms for sleep data (Somnograms)",
      "topics": [
        "allSomnograms"
      ]
    },
    {
      "page": "anticipationAct",
      "title": "Compute anticipation for activity data",
      "topics": [
        "anticipationAct"
      ]
    },
    {
      "page": "binData",
      "title": "Bin activity data to desired intervals",
      "topics": [
        "binData"
      ]
    },
    {
      "page": "CoM",
      "title": "Objectively quantify and visualise phases and calculate consolidation in pre-defined time-windows",
      "topics": [
        "CoM"
      ]
    },
    {
      "page": "df",
      "title": "Example DAM data",
      "topics": [
        "df"
      ]
    },
    {
      "page": "indActogram",
      "title": "Plot actogram of individual fly",
      "topics": [
        "indActogram"
      ]
    },
    {
      "page": "indPeriodogramAct",
      "title": "Periodogram plot for activity data of individual flies",
      "topics": [
        "indPeriodogramAct"
      ]
    },
    {
      "page": "indPeriodogramSleep",
      "title": "Periodogram plot for sleep data of individual flies",
      "topics": [
        "indPeriodogramSleep"
      ]
    },
    {
      "page": "indSomnogram",
      "title": "Generate actograms for sleep data (Somnograms) for individual flies",
      "topics": [
        "indSomnogram"
      ]
    },
    {
      "page": "peakIdentifier",
      "title": "Phase identifier for activity data",
      "topics": [
        "peakIdentifier"
      ]
    },
    {
      "page": "profilesAct",
      "title": "Compute and plot activity profiles",
      "topics": [
        "profilesAct"
      ]
    },
    {
      "page": "profilesSleep",
      "title": "Compute and plot sleep profiles",
      "topics": [
        "profilesSleep"
      ]
    },
    {
      "page": "rosePlotsAct",
      "title": "Generate rose plots for averaged activity data",
      "topics": [
        "rosePlotsAct"
      ]
    },
    {
      "page": "rosePlotsSleep",
      "title": "Generate rose plots for averaged sleep data",
      "topics": [
        "rosePlotsSleep"
      ]
    },
    {
      "page": "sleepData",
      "title": "Equivalent of binData() but for sleep data",
      "topics": [
        "sleepData"
      ]
    },
    {
      "page": "sleepOnsetBoutLength",
      "title": "Computes, tabulates and plots day-time and night-time onset of sleep bouts and their respective lengths",
      "topics": [
        "sleepOnsetBoutLength"
      ]
    },
    {
      "page": "sleepStages",
      "title": "Plot sleep stages in individual flies",
      "topics": [
        "sleepStages"
      ]
    },
    {
      "page": "sleepStat",
      "title": "Computes and tabulates day-time and night-time sleep statistics",
      "topics": [
        "sleepStat"
      ]
    },
    {
      "page": "transitionProbs",
      "title": "Plot and generate data for transition frequencies between sleep stages",
      "topics": [
        "transitionProbs"
      ]
    },
    {
      "page": "trimData",
      "title": "Trim data for downstream analyses",
      "topics": [
        "trimData"
      ]
    }
  ],
  "_rundeps": [
    "askpass",
    "base64enc",
    "behavr",
    "boot",
    "bslib",
    "cachem",
    "circular",
    "cli",
    "commonmark",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "lomb",
    "lubridate",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "mvtnorm",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "plotly",
    "pracma",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "shiny",
    "shinycssloaders",
    "shinydashboard",
    "shinyFiles",
    "shinythemes",
    "signal",
    "sourcetools",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "WaveletComp",
    "wesanderson",
    "withr",
    "xfun",
    "xtable",
    "yaml",
    "zeitgebr",
    "zoo"
  ],
  "_score": 1.7781512503836436,
  "_indexed": true,
  "_nocasepkg": "phase",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.9",
      "date": "2026-05-27T09:45:46.000Z",
      "distro": "noble",
      "commit": "d8bba13e3602e2435298e17d65e200e2d4406990",
      "fileid": "e0a1846f217f49a9f0e9778aec75d02145f5e16c3dc76243c840f2baeb5dd151",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26503425892"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.9",
      "date": "2026-05-27T09:45:18.000Z",
      "distro": "noble",
      "commit": "d8bba13e3602e2435298e17d65e200e2d4406990",
      "fileid": "93d91bc69b604df972bb88a4873bf747c2351b7c39895ce843833fa440792246",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26503425892"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.9",
      "date": "2026-05-27T09:45:30.000Z",
      "commit": "d8bba13e3602e2435298e17d65e200e2d4406990",
      "fileid": "31761eea84b995261b0b37cea4b5ef59beb86a599df52133b014a186c0f0af92",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26503425892"
    }
  ]
}