{
  "_id": "6a46e2b76527f6f71f9f7b28",
  "Package": "dynR",
  "Title": "Dynamic Connectivity Analysis for Neurophysiological Timeseries",
  "Version": "0.1.2",
  "Authors@R": "c(\nperson(\"Lucas\", \"França\",\nemail = \"lucas.franca@northumbria.ac.uk\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0853-1319\")),\nperson(\"Mario\", \"Leocadio-Miguel\",\nemail = \"mario.miguel@northumbria.ac.uk\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-7248-3529\")),\nperson(\"Dafnis\", \"Batallé\",\nemail = \"dafnis.batalle@kcl.ac.uk\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0003-2097-979X\")))",
  "Description": "An R port of the Python dynfc library for computing\ndynamic connectivity (dynFC) representations from multivariate\nneurophysiological timeseries, including BOLD fMRI, EEG, LFP,\nand related signals. Implements sliding-window Pearson\ncorrelation (Hansen et al., 2015), edge-centric cofluctuation\nanalysis (Esfahlani et al., 2020; Faskowitz et al., 2020),\ninstantaneous phase-locking via the Hilbert transform, dynamic\nphase-locking matrices (dPL), the LEiDA leading-eigenvector\nframework (Cabral et al., 2017; Lord et al., 2019), and the\nKuramoto order parameter with metastability and Shannon\nentropy. Part of the Circadia Lab R ecosystem.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Lifecycle": "experimental",
  "URL": "https://dynr.circadia-lab.uk, https://github.com/circadia-bio/dynR",
  "BugReports": "https://github.com/circadia-bio/dynR/issues",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://circadia-bio.r-universe.dev",
  "Date/Publication": "2026-07-02 21:19:47 UTC",
  "RemoteUrl": "https://github.com/circadia-bio/dynR",
  "RemoteRef": "v0.1.2",
  "RemoteSha": "c08c64a0b24a4689dbd92e6cf0bfc2697480a602",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-02 22:11:15 UTC",
    "User": "root"
  },
  "Author": "Lucas França [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0853-1319>),\nMario Leocadio-Miguel [aut] (ORCID:\n<https://orcid.org/0000-0002-7248-3529>),\nDafnis Batallé [aut] (ORCID: <https://orcid.org/0000-0003-2097-979X>)",
  "Maintainer": "Lucas França <lucas.franca@northumbria.ac.uk>",
  "MD5sum": "4ee95e96a967f36cd344a69d829977ec",
  "_user": "circadia-bio",
  "_type": "src",
  "_file": "dynR_0.1.2.tar.gz",
  "_fileid": "637d30a8cf82c09e4544976f1206a924a43e760f3b25f1d39cf4b4e90e691341",
  "_filesize": 2647935,
  "_sha256": "637d30a8cf82c09e4544976f1206a924a43e760f3b25f1d39cf4b4e90e691341",
  "_created": "2026-07-02T22:11:15.000Z",
  "_published": "2026-07-02T22:14:15.221Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 84888794656,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8052898083"
    },
    {
      "job": 84888794677,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8052899534"
    },
    {
      "job": 84888794639,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8052884003"
    },
    {
      "job": 84888794635,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8052889359"
    },
    {
      "job": 84888285772,
      "time": 204,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8052855951"
    },
    {
      "job": 84888794731,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8052895664"
    },
    {
      "job": 84888794655,
      "time": 91,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8052884296"
    },
    {
      "job": 84888794649,
      "time": 74,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8052879068"
    },
    {
      "job": 84888794670,
      "time": 88,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8052883269"
    }
  ],
  "_buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28624654807",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/circadia-bio/dynR",
  "_commit": {
    "id": "c08c64a0b24a4689dbd92e6cf0bfc2697480a602",
    "author": "lucasfr <lucas.franca@northumbria.ac.uk>",
    "committer": "lucasfr <lucas.franca@northumbria.ac.uk>",
    "message": "📚 docs(README): bump version to 0.1.2, add r-universe install, add dyn_transitions to features\n",
    "time": 1783027187
  },
  "_maintainer": {
    "name": "Lucas França",
    "email": "lucas.franca@northumbria.ac.uk",
    "login": "lucasfr",
    "description": "Immigrant, physicist, neuroscientist, open source and data science enthusiast.",
    "uuid": 502265,
    "orcid": "0000-0003-0853-1319"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "gsignal",
      "version": ">= 0.3.5",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Suggests"
    },
    {
      "package": "reticulate",
      "role": "Suggests"
    }
  ],
  "_owner": "circadia-bio",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 20
    },
    {
      "week": "2026-27",
      "n": 10
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-06-29"
    },
    {
      "name": "v0.1.1",
      "date": "2026-07-02"
    },
    {
      "name": "v0.1.2",
      "date": "2026-07-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "lucasfr",
      "count": 33,
      "uuid": 502265
    }
  ],
  "_userbio": {
    "uuid": 202348599,
    "type": "organization",
    "name": "Circadia Lab",
    "followers": 3
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dynR"
  },
  "_devurl": "https://github.com/circadia-bio/dynr",
  "_pkgdown": "https://dynr.circadia-lab.uk",
  "_searchresults": 108,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dynR.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "bandpass_filter",
    "cofluct",
    "corr_corr",
    "corr_slide",
    "do_euclid",
    "dyn_phase_lock",
    "dyn_transitions",
    "get_leida",
    "hilbert_phases",
    "kuramoto",
    "shannon_entropy"
  ],
  "_datasets": [
    {
      "name": "fc",
      "title": "Functional connectivity matrix (200 parcels)",
      "object": "fc",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "ts",
      "title": "BOLD fMRI timeseries (200 parcels, 600 timepoints)",
      "object": "ts",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [],
      "rows": 200,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bandpass_filter",
      "title": "Butterworth bandpass filter",
      "topics": [
        "bandpass_filter"
      ]
    },
    {
      "page": "cofluct",
      "title": "Edge-centric cofluctuation analysis",
      "topics": [
        "cofluct"
      ]
    },
    {
      "page": "corr_corr",
      "title": "Correlation of correlations matrix",
      "topics": [
        "corr_corr"
      ]
    },
    {
      "page": "corr_slide",
      "title": "Sliding window correlation",
      "topics": [
        "corr_slide"
      ]
    },
    {
      "page": "do_euclid",
      "title": "Euclidean distance between consecutive points",
      "topics": [
        "do_euclid"
      ]
    },
    {
      "page": "dyn_phase_lock",
      "title": "Dynamic phase-locking matrix (dPL)",
      "topics": [
        "dyn_phase_lock"
      ]
    },
    {
      "page": "dyn_transitions",
      "title": "State transition probabilities (Markov analysis)",
      "topics": [
        "dyn_transitions"
      ]
    },
    {
      "page": "fc",
      "title": "Functional connectivity matrix (200 parcels)",
      "topics": [
        "fc"
      ]
    },
    {
      "page": "get_leida",
      "title": "Leading eigenvector decomposition (LEiDA)",
      "topics": [
        "get_leida"
      ]
    },
    {
      "page": "hilbert_phases",
      "title": "Hilbert transform phase extraction",
      "topics": [
        "hilbert_phases"
      ]
    },
    {
      "page": "kuramoto",
      "title": "Kuramoto order parameter and metastability",
      "topics": [
        "kuramoto"
      ]
    },
    {
      "page": "shannon_entropy",
      "title": "Shannon entropy",
      "topics": [
        "shannon_entropy"
      ]
    },
    {
      "page": "ts",
      "title": "BOLD fMRI timeseries (200 parcels, 600 timepoints)",
      "topics": [
        "ts"
      ]
    }
  ],
  "_pkglogo": "https://github.com/circadia-bio/dynR/raw/v0.1.2/man/figures/logo.svg",
  "_readme": "https://github.com/circadia-bio/dynR/raw/v0.1.2/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "gsignal",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "pracma",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "sliding-window-fc.Rmd",
      "filename": "sliding-window-fc.html",
      "title": "Correlation-based dynamic FC: sliding windows and edge cofluctuations",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Sliding-window correlation",
        "Window length: a critical choice",
        "Validating against static FC",
        "FC variability across windows",
        "Edge-centric cofluctuations",
        "Root-sum-square (RSS) cofluctuation",
        "Correlation of correlations",
        "Brain state analysis from sliding-window FC",
        "References"
      ],
      "created": "2026-06-28 08:30:01",
      "modified": "2026-06-28 23:10:57",
      "commits": 3
    },
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started with dynR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is dynamic functional connectivity?",
        "When to use which approach",
        "Package data",
        "Pipeline overview",
        "Quick example: phase-based pipeline",
        "Quick example: correlation-based pipeline",
        "Sanity check: single window equals static FC",
        "Further reading",
        "References"
      ],
      "created": "2026-06-28 08:30:01",
      "modified": "2026-06-28 23:10:57",
      "commits": 3
    },
    {
      "source": "phase-based-fc.Rmd",
      "filename": "phase-based-fc.html",
      "title": "Phase-based dynamic FC: Hilbert transform, LEiDA, and Kuramoto",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Step 1: Bandpass filtering",
        "Step 2: Instantaneous phases via the Hilbert transform",
        "Step 3: Dynamic phase-locking matrix (dPL) and LEiDA",
        "The dPL matrix",
        "The leading eigenvector (LEiDA)",
        "Step 4: Brain state discovery with K-means",
        "Choosing K",
        "State sequence",
        "Step 5: Kuramoto order parameter",
        "The measure",
        "Metastability",
        "References"
      ],
      "created": "2026-06-28 08:30:01",
      "modified": "2026-06-28 23:12:45",
      "commits": 4
    }
  ],
  "_score": 4.510545010206612,
  "_indexed": true,
  "_nocasepkg": "dynr",
  "_universes": [
    "circadia-bio",
    "lucasfr"
  ],
  "_previous": "0.1.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-07-02T22:13:31.000Z",
      "distro": "resolute",
      "commit": "c08c64a0b24a4689dbd92e6cf0bfc2697480a602",
      "fileid": "a1ba289ad63c676267ee074de9396801d682e4f2c186224532c1262227f8f52f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28624654807"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-07-02T22:13:34.000Z",
      "distro": "resolute",
      "commit": "c08c64a0b24a4689dbd92e6cf0bfc2697480a602",
      "fileid": "c9909de50f84e1fa9d0c915f6a44d7343d6eab3a8914613c0be6fb4b9cdef406",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28624654807"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-07-02T22:12:46.000Z",
      "commit": "c08c64a0b24a4689dbd92e6cf0bfc2697480a602",
      "fileid": "6d3a53e12314b2f187ee68495d4a5afd330f529c4e7d73cd731fadea4d3509ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28624654807"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-07-02T22:13:02.000Z",
      "commit": "c08c64a0b24a4689dbd92e6cf0bfc2697480a602",
      "fileid": "3a78e82c1d89a1f84bec93c8d6a3b6f281e5048477fdb9fc0b7532f33e1b7416",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28624654807"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-07-02T22:13:41.000Z",
      "commit": "c08c64a0b24a4689dbd92e6cf0bfc2697480a602",
      "fileid": "96f0679ce9df78448d00f8cfdd20cc768a8ebdf970f3fb07a6767088c0b981a1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28624654807"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-07-02T22:12:38.000Z",
      "commit": "c08c64a0b24a4689dbd92e6cf0bfc2697480a602",
      "fileid": "d36442aebf2785fe7086fae29463ae76a127a442249ba7a8d22b47470ad6ffca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28624654807"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-07-02T22:12:21.000Z",
      "commit": "c08c64a0b24a4689dbd92e6cf0bfc2697480a602",
      "fileid": "a4472477ad864a0d16956daeb7af6bf2c0efae5e38a7771f73b121285c1b6ba7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28624654807"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-07-02T22:12:33.000Z",
      "commit": "c08c64a0b24a4689dbd92e6cf0bfc2697480a602",
      "fileid": "582742a76c3334c7245391a31b812c1616204611f747dd19195f6f7c0acf2f8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/circadia-bio/actions/runs/28624654807"
    }
  ]
}