{
  "_id": "6ad21d403c1b78c68c07b11a",
  "Package": "metricT",
  "Type": "Package",
  "Title": "Directional Fragility Diagnostics for EEG Connectivity",
  "Version": "0.2.0",
  "Authors@R": "person(\"Akira\", \"Kimura\", email = \"a-kimura@paz.ac.jp\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-0220-5678\"))",
  "Description": "Implements Metric-T, a permutation-based diagnostic that\nflags when the reported direction of a group difference in\nelectroencephalography (EEG) functional connectivity depends on\nthe choice of metric. Direction consistency (DC) converts the\nweighted phase lag index (wPLI) and magnitude-squared coherence\n(MSC), both derived from the same cross-spectrum, into the\npercentage of channel-pair features for which one group exceeds\nthe other; Metric-T is T = DC(wPLI) - DC(MSC). Significance is\nassessed by aligned label permutation with marginal and\nWestfall-Young max-T multiplicity control. For small samples\nthe reference set is enumerated completely: exact two-group\ntests, the complete two-group labelling space (in which\ncut-points, exclusions and batches are located on one\ndistribution), and a stratified exact test for a continuous\ncovariate. Core functions use base R only; a 'shiny' graphical\ninterface is included. Method: Kimura (2026)\n<doi:10.1016/j.neuri.2026.100286>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/akimura753/metricT",
  "BugReports": "https://github.com/akimura753/metricT/issues",
  "RoxygenNote": "7.3.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-16 12:45:28 UTC",
    "User": "root"
  },
  "Author": "Akira Kimura [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0220-5678>)",
  "Maintainer": "Akira Kimura <a-kimura@paz.ac.jp>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-16 09:50:13 UTC",
  "RemoteUrl": "https://github.com/cran/metricT",
  "RemoteRef": "HEAD",
  "RemoteSha": "0bb7a90765e1af6883297544aff23a2084ece2aa",
  "_user": "cran",
  "_type": "src",
  "_file": "metricT_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/97579625d0e4f3705bcfc22b51e12a82d1d823b835684a108f618dd8b5cb4ef8",
  "_filesize": 322699,
  "_sha256": "97579625d0e4f3705bcfc22b51e12a82d1d823b835684a108f618dd8b5cb4ef8",
  "_expires": "2027-01-24T12:49:02.000Z",
  "_created": "2026-10-16T12:45:28.000Z",
  "_published": "2026-10-16T12:49:04.083Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38902447983",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116978960606,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12046518577"
    },
    {
      "job": 116978960616,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12047221461"
    },
    {
      "job": 116977904582,
      "time": 152,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12046597873"
    },
    {
      "job": 116978960488,
      "time": 89,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12046712884"
    },
    {
      "job": 116978960650,
      "time": 72,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12047087174"
    },
    {
      "job": 116978960537,
      "time": 71,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12046812031"
    }
  ],
  "_upstream": "https://github.com/cran/metricT",
  "_commit": {
    "id": "0bb7a90765e1af6883297544aff23a2084ece2aa",
    "author": "Akira Kimura <a-kimura@paz.ac.jp>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1792144213
  },
  "_maintainer": {
    "name": "Akira Kimura",
    "email": "a-kimura@paz.ac.jp",
    "orcid": "0000-0003-0220-5678"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2026-10-16"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 631,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/metricT"
  },
  "_devurl": "https://github.com/akimura753/metrict",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/metricT.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-10-16"
    }
  ],
  "_exports": [
    "metric_t",
    "metric_t_trend",
    "mt_bands",
    "mt_clean_epochs",
    "mt_connectivity",
    "mt_dc",
    "mt_epoch",
    "mt_features_from_eeg_csv",
    "mt_features_from_epochs",
    "mt_label_space",
    "mt_labelings",
    "mt_labelset",
    "mt_locate",
    "mt_motion_bands",
    "mt_null_plot",
    "mt_read_features_csv",
    "mt_read_npy",
    "mt_read_npz",
    "mt_simulate",
    "mt_simulate_motion",
    "mt_write_features_csv",
    "mt_wy_maxt",
    "run_metricT_app"
  ],
  "_help": [
    {
      "page": "metric_t",
      "title": "Metric-T: diagnostic for directional fragility",
      "topics": [
        "metric_t"
      ]
    },
    {
      "page": "metric_t_trend",
      "title": "Metric-T for a continuous covariate, with stratified exact permutation",
      "topics": [
        "metric_t_trend"
      ]
    },
    {
      "page": "mt_bands",
      "title": "Default frequency bands (Hz), as in Kimura (2026)",
      "topics": [
        "mt_bands"
      ]
    },
    {
      "page": "mt_clean_epochs",
      "title": "Detrend epochs and drop those with large excursions",
      "topics": [
        "mt_clean_epochs"
      ]
    },
    {
      "page": "mt_connectivity",
      "title": "wPLI and MSC from the same cross-spectrum (one subject)",
      "topics": [
        "mt_connectivity"
      ]
    },
    {
      "page": "mt_dc",
      "title": "Direction consistency (DC)",
      "topics": [
        "mt_dc"
      ]
    },
    {
      "page": "mt_epoch",
      "title": "Cut a continuous recording into fixed-length epochs",
      "topics": [
        "mt_epoch"
      ]
    },
    {
      "page": "mt_features_from_eeg_csv",
      "title": "Features from one CSV file of preprocessed EEG per subject",
      "topics": [
        "mt_features_from_eeg_csv"
      ]
    },
    {
      "page": "mt_features_from_epochs",
      "title": "Subject-by-feature matrices from per-subject epoch arrays",
      "topics": [
        "mt_features_from_epochs"
      ]
    },
    {
      "page": "mt_label_space",
      "title": "Enumerate the complete two-group labelling space",
      "topics": [
        "mt_label_space"
      ]
    },
    {
      "page": "mt_labelings",
      "title": "Metric-T under alternative labelling rules",
      "topics": [
        "mt_labelings"
      ]
    },
    {
      "page": "mt_labelset",
      "title": "Metric-T over the complete set of admissible labellings",
      "topics": [
        "mt_labelset"
      ]
    },
    {
      "page": "mt_locate",
      "title": "Locate a labelling in the labelling space",
      "topics": [
        "mt_locate"
      ]
    },
    {
      "page": "mt_motion_bands",
      "title": "Frequency bands for paced repetitive movement (Hz)",
      "topics": [
        "mt_motion_bands"
      ]
    },
    {
      "page": "mt_null_plot",
      "title": "Permutation null distribution of T for one condition",
      "topics": [
        "mt_null_plot"
      ]
    },
    {
      "page": "mt_read_npy",
      "title": "Read a NumPy .npy file (base R, no Python needed)",
      "topics": [
        "mt_read_npy"
      ]
    },
    {
      "page": "mt_read_npz",
      "title": "Read the feature archive written by the Python reference pipeline",
      "topics": [
        "mt_read_npz"
      ]
    },
    {
      "page": "mt_simulate",
      "title": "Simulate EEG with tunable coupling-mode composition",
      "topics": [
        "mt_simulate"
      ]
    },
    {
      "page": "mt_simulate_motion",
      "title": "Simulate pose-estimated repetitive movement",
      "topics": [
        "mt_simulate_motion"
      ]
    },
    {
      "page": "mt_write_features_csv",
      "title": "Write and read features as a plain CSV table",
      "topics": [
        "mt_read_features_csv",
        "mt_write_features_csv"
      ]
    },
    {
      "page": "mt_wy_maxt",
      "title": "Westfall-Young max-T step-down adjustment",
      "topics": [
        "mt_wy_maxt"
      ]
    },
    {
      "page": "plot.metricT",
      "title": "Plot direction consistency for both metrics",
      "topics": [
        "plot.metricT"
      ]
    },
    {
      "page": "run_metricT_app",
      "title": "Launch the Metric-T graphical interface",
      "topics": [
        "run_metricT_app"
      ]
    }
  ],
  "_readme": "https://github.com/cran/metricT/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 1.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "metrict",
  "_universes": [
    "cran",
    "akimura753"
  ],
  "_indexurl": "https://akimura753.r-universe.dev/metricT",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-16T12:48:21.000Z",
      "distro": "resolute",
      "commit": "0bb7a90765e1af6883297544aff23a2084ece2aa",
      "fileid": "https://r2.ropensci.org/b4c3f84736b33fb50ffcf430f871800e1d1538c5f1b8dffeccab9519626348e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38902447983"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-16T12:47:25.000Z",
      "distro": "resolute",
      "commit": "0bb7a90765e1af6883297544aff23a2084ece2aa",
      "fileid": "https://r2.ropensci.org/2dc8559771e6c76d6abccd25051c73cc55c5f665eaf4657bba7e951960a42d0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38902447983"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-16T12:47:17.000Z",
      "commit": "0bb7a90765e1af6883297544aff23a2084ece2aa",
      "fileid": "https://r2.ropensci.org/4a9021abd5f2c21924c946372a0a363a11ce5b3e168f7c5c7ffd7d1e66ffd749",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38902447983"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-16T12:46:41.000Z",
      "commit": "0bb7a90765e1af6883297544aff23a2084ece2aa",
      "fileid": "https://r2.ropensci.org/42eb150dfa1d803b7ed8f2e9b2d7879939edea090909ce5d54d2087a0fc00559",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38902447983"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-16T12:46:45.000Z",
      "commit": "0bb7a90765e1af6883297544aff23a2084ece2aa",
      "fileid": "https://r2.ropensci.org/b89983b31e471f38d860a2612981bfcb1407c403e84184e04f578132f960a881",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38902447983"
    }
  ]
}