{
  "_id": "6acf322fd9de2f3f33fc8f68",
  "Package": "ggseg.formats",
  "Title": "Brain Atlas Data Structures for the 'ggsegverse' Ecosystem",
  "Version": "0.0.4",
  "Authors@R": "c(person(\"Athanasia Mo\", \"Mowinckel\", , \"a.m.mowinckel@psykologi.uio.no\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-5756-0223\")),\nperson(\"Center for Lifespan Changes in Brain and Cognition (LCBC), University of Oslo\",\nrole = \"cph\"))",
  "Description": "Provides the 'ggseg_atlas' S3 class used across the\n'ggsegverse' ecosystem for 2D and 3D brain visualisation. Ships\nfour bundled atlases ('Desikan-Killiany', 'FreeSurfer' 'aseg',\n'TRACULA', 'SUIT') and functions for querying, subsetting,\nrenaming, and enriching atlas objects. Also includes readers\nfor 'FreeSurfer' statistics files.",
  "License": "MIT + file LICENSE",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "ggsegverse/ggseg.docs",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/ggsegverse/ggseg.formats,\nhttps://ggsegverse.github.io/ggseg.formats/",
  "BugReports": "https://github.com/ggsegverse/ggseg.formats/issues",
  "Repository": "https://r-multiverse-staging.r-universe.dev",
  "Date/Publication": "2026-07-02 20:24:57 UTC",
  "RemoteUrl": "https://github.com/ggsegverse/ggseg.formats",
  "RemoteRef": "193ca3c76ed61992266a31c60727c337a969cd66",
  "RemoteSha": "193ca3c76ed61992266a31c60727c337a969cd66",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-14 07:16:47 UTC",
    "User": "root"
  },
  "Author": "Athanasia Mo Mowinckel [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5756-0223>),\nCenter for Lifespan Changes in Brain and Cognition (LCBC), University\nof Oslo [cph]",
  "Maintainer": "Athanasia Mo Mowinckel <a.m.mowinckel@psykologi.uio.no>",
  "_user": "r-multiverse-staging",
  "_type": "src",
  "_file": "ggseg.formats_0.0.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/6f4ea80efb45d702cc42b97fb7796fc789f5806989f53987f0368f642d77d379",
  "_filesize": 4337678,
  "_sha256": "6f4ea80efb45d702cc42b97fb7796fc789f5806989f53987f0368f642d77d379",
  "_expires": "2027-01-22T07:41:33.000Z",
  "_created": "2026-10-14T07:16:47.000Z",
  "_published": "2026-10-14T07:41:35.880Z",
  "_buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/38526939529",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115730718587,
      "time": 160,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11876298882"
    },
    {
      "job": 115730718517,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11876641954"
    },
    {
      "job": 115730718510,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11877153715"
    },
    {
      "job": 115730718597,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11878125104"
    },
    {
      "job": 115729515716,
      "time": 207,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11875729313"
    },
    {
      "job": 115730718592,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11875814480"
    },
    {
      "job": 115730718600,
      "time": 127,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11875924208"
    },
    {
      "job": 115730718728,
      "time": 112,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11876054048"
    },
    {
      "job": 115730718489,
      "time": 103,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11876616934"
    }
  ],
  "_upstream": "https://github.com/ggsegverse/ggseg.formats",
  "_commit": {
    "id": "193ca3c76ed61992266a31c60727c337a969cd66",
    "author": "Athanasia Monika Mowinckel <14014329+drmowinckels@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #20 from ggsegverse/fix/bundled-atlases-polygon-format\n\nShip bundled atlases in sf-optional polygon format (0.0.4 CRAN release)",
    "time": 1783023897
  },
  "_maintainer": {
    "name": "Athanasia Mo Mowinckel",
    "email": "a.m.mowinckel@psykologi.uio.no",
    "login": "drmowinckels",
    "mastodon": "@Drmowinckels@fosstodon.org",
    "bluesky": "@drmowinckels.io",
    "description": "Staff researcher at @LCBC-UiO (www.oslobrains.no) and @Lifebrain (www.lifebrain.uio.no/). PhD in Cognitive Neuroscience. Chapter head for @rladies Oslo",
    "uuid": 14014329,
    "orcid": "0000-0002-5756-0223"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sfheaders",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "ggsegverse",
  "_selfowned": false,
  "_usedby": 22,
  "_updates": [
    {
      "week": "2026-06",
      "n": 17
    },
    {
      "week": "2026-07",
      "n": 29
    },
    {
      "week": "2026-08",
      "n": 3
    },
    {
      "week": "2026-14",
      "n": 13
    },
    {
      "week": "2026-23",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 7
    },
    {
      "week": "2026-25",
      "n": 4
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.0.1",
      "date": "2026-02-15"
    },
    {
      "name": "v0.0.2",
      "date": "2026-04-03"
    },
    {
      "name": "v0.0.3",
      "date": "2026-06-18"
    },
    {
      "name": "v0.0.4",
      "date": "2026-07-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "drmowinckels",
      "count": 112,
      "uuid": 14014329
    },
    {
      "user": "copilot",
      "count": 2,
      "uuid": 198982749
    }
  ],
  "_userbio": {
    "uuid": 161461790,
    "type": "organization",
    "name": "R-multiverse",
    "followers": 38,
    "description": "A community-curated collection of R package releases, powered by R-universe"
  },
  "_downloads": {
    "count": 1093,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggseg.formats"
  },
  "_mentions": 9,
  "_devurl": "https://github.com/ggsegverse/ggseg.formats",
  "_pkgdown": "https://ggsegverse.github.io/ggseg.formats/",
  "_searchresults": 89,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggseg.formats.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/ggsegverse/ggseg.formats",
  "_realowner": "ggsegverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2026-02-18"
    },
    {
      "version": "0.0.2",
      "date": "2026-04-03"
    },
    {
      "version": "0.0.3",
      "date": "2026-06-18"
    },
    {
      "version": "0.0.4",
      "date": "2026-07-02"
    }
  ],
  "_exports": [
    "as_brain_atlas",
    "as_ggseg_atlas",
    "as_polygon_atlas",
    "as_sf_atlas",
    "aseg",
    "atlas_context_remove",
    "atlas_core_add",
    "atlas_geom",
    "atlas_geometry_type",
    "atlas_labels",
    "atlas_meshes",
    "atlas_palette",
    "atlas_polygons",
    "atlas_region_contextual",
    "atlas_region_keep",
    "atlas_region_op",
    "atlas_region_remove",
    "atlas_region_rename",
    "atlas_regions",
    "atlas_sf",
    "atlas_type",
    "atlas_vertices",
    "atlas_view_gather",
    "atlas_view_keep",
    "atlas_view_remove",
    "atlas_view_remove_region",
    "atlas_view_remove_small",
    "atlas_view_reorder",
    "atlas_views",
    "brain_atlas",
    "brain_data_cortical",
    "brain_data_subcortical",
    "brain_data_tract",
    "brain_labels",
    "brain_regions",
    "brain_views",
    "convert_legacy_brain_atlas",
    "dk",
    "get_brain_mesh",
    "get_cerebellar_mesh",
    "ggseg_atlas",
    "ggseg_data_cerebellar",
    "ggseg_data_cortical",
    "ggseg_data_subcortical",
    "ggseg_data_tract",
    "is_atlas_polygon",
    "is_atlas_sf",
    "is_brain_atlas",
    "is_cerebellar_atlas",
    "is_cortical_atlas",
    "is_ggseg_atlas",
    "is_ggseg3d_atlas",
    "is_subcortical_atlas",
    "is_tract_atlas",
    "migrate_atlas_files",
    "read_atlas_files",
    "read_freesurfer_stats",
    "read_freesurfer_table",
    "suit",
    "tracula",
    "unify_legacy_atlases"
  ],
  "_help": [
    {
      "page": "as_ggseg_atlas",
      "title": "Coerce to ggseg atlas",
      "topics": [
        "as_brain_atlas",
        "as_ggseg_atlas"
      ]
    },
    {
      "page": "as_polygon_atlas",
      "title": "Convert a ggseg atlas to the sf-optional polygon representation",
      "topics": [
        "as_polygon_atlas"
      ]
    },
    {
      "page": "as_sf_atlas",
      "title": "Rehydrate a ggseg atlas into sf-backed form",
      "topics": [
        "as_sf_atlas"
      ]
    },
    {
      "page": "aseg",
      "title": "FreeSurfer Automatic Subcortical Segmentation Atlas",
      "concept": [
        "ggseg_atlases",
        "subcortical_atlases"
      ],
      "topics": [
        "aseg"
      ]
    },
    {
      "page": "atlas_geom",
      "title": "Get the raw 2D geometry of an atlas",
      "topics": [
        "atlas_geom"
      ]
    },
    {
      "page": "atlas_geometry_type",
      "title": "Classify or test an atlas's 2D geometry",
      "topics": [
        "atlas_geometry_type",
        "is_atlas_polygon",
        "is_atlas_sf"
      ]
    },
    {
      "page": "atlas_labels",
      "title": "Extract unique labels from an atlas",
      "topics": [
        "atlas_labels",
        "brain_labels"
      ]
    },
    {
      "page": "atlas_manipulation",
      "title": "Manipulate brain atlas regions and views",
      "topics": [
        "atlas_context_remove",
        "atlas_core_add",
        "atlas_manipulation",
        "atlas_region_contextual",
        "atlas_region_keep",
        "atlas_region_op",
        "atlas_region_remove",
        "atlas_region_rename",
        "atlas_view_gather",
        "atlas_view_keep",
        "atlas_view_remove",
        "atlas_view_remove_region",
        "atlas_view_remove_small",
        "atlas_view_reorder"
      ]
    },
    {
      "page": "atlas_meshes",
      "title": "Get atlas meshes for 3D rendering",
      "topics": [
        "atlas_meshes"
      ]
    },
    {
      "page": "atlas_palette",
      "title": "Get atlas palette",
      "topics": [
        "atlas_palette"
      ]
    },
    {
      "page": "atlas_polygons",
      "title": "Get atlas polygons for 2D rendering",
      "topics": [
        "atlas_polygons"
      ]
    },
    {
      "page": "atlas_regions",
      "title": "Extract unique region names from an atlas",
      "topics": [
        "atlas_regions",
        "brain_regions"
      ]
    },
    {
      "page": "atlas_sf",
      "title": "Get atlas data for 2D rendering",
      "topics": [
        "atlas_sf"
      ]
    },
    {
      "page": "atlas_type",
      "title": "Detect atlas type",
      "topics": [
        "atlas_type"
      ]
    },
    {
      "page": "atlas_vertices",
      "title": "Get atlas vertices for 3D rendering",
      "topics": [
        "atlas_vertices"
      ]
    },
    {
      "page": "atlas_views",
      "title": "Get available views in atlas",
      "topics": [
        "atlas_views",
        "brain_views"
      ]
    },
    {
      "page": "convert_legacy_brain_atlas",
      "title": "Convert legacy ggseg atlases to ggseg_atlas format",
      "topics": [
        "convert_legacy_brain_atlas",
        "unify_legacy_atlases"
      ]
    },
    {
      "page": "dk",
      "title": "Desikan-Killiany Cortical Atlas",
      "concept": [
        "cortical_atlases",
        "ggseg_atlases"
      ],
      "topics": [
        "dk"
      ]
    },
    {
      "page": "get_brain_mesh",
      "title": "Get brain surface mesh",
      "topics": [
        "get_brain_mesh"
      ]
    },
    {
      "page": "get_cerebellar_mesh",
      "title": "Get SUIT cerebellar surface mesh",
      "topics": [
        "get_cerebellar_mesh"
      ]
    },
    {
      "page": "ggseg_atlas",
      "title": "Constructor for ggseg atlas",
      "topics": [
        "brain_atlas",
        "ggseg_atlas"
      ]
    },
    {
      "page": "ggseg_data_cerebellar",
      "title": "Create cerebellar atlas data",
      "topics": [
        "ggseg_data_cerebellar"
      ]
    },
    {
      "page": "ggseg_data_cortical",
      "title": "Create cortical atlas data",
      "topics": [
        "brain_data_cortical",
        "ggseg_data_cortical"
      ]
    },
    {
      "page": "ggseg_data_subcortical",
      "title": "Create subcortical atlas data",
      "topics": [
        "brain_data_subcortical",
        "ggseg_data_subcortical"
      ]
    },
    {
      "page": "ggseg_data_tract",
      "title": "Create tract atlas data",
      "topics": [
        "brain_data_tract",
        "ggseg_data_tract"
      ]
    },
    {
      "page": "is_ggseg_atlas",
      "title": "Check ggseg atlas class",
      "topics": [
        "is_brain_atlas",
        "is_cerebellar_atlas",
        "is_cortical_atlas",
        "is_ggseg_atlas",
        "is_subcortical_atlas",
        "is_tract_atlas"
      ]
    },
    {
      "page": "is_ggseg3d_atlas",
      "title": "Check if object is a legacy ggseg3d atlas",
      "topics": [
        "is_ggseg3d_atlas"
      ]
    },
    {
      "page": "migrate_atlas_files",
      "title": "Migrate atlas '.rda' files to the sf-optional polygon format",
      "topics": [
        "migrate_atlas_files"
      ]
    },
    {
      "page": "read_atlas_files",
      "title": "Read in atlas data from all subjects",
      "topics": [
        "read_atlas_files"
      ]
    },
    {
      "page": "read_freesurfer_stats",
      "title": "Read in raw FreeSurfer stats file",
      "topics": [
        "read_freesurfer_stats"
      ]
    },
    {
      "page": "read_freesurfer_table",
      "title": "Read in stats table from FreeSurfer",
      "topics": [
        "read_freesurfer_table"
      ]
    },
    {
      "page": "suit",
      "title": "SUIT Cerebellar Lobular Atlas",
      "concept": [
        "cerebellar_atlases",
        "ggseg_atlases"
      ],
      "topics": [
        "suit"
      ]
    },
    {
      "page": "tracula",
      "title": "TRACULA White Matter Tract Atlas",
      "concept": [
        "ggseg_atlases",
        "tract_atlases"
      ],
      "topics": [
        "tracula"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ggsegverse/ggseg.formats/raw/193ca3c76ed61992266a31c60727c337a969cd66/man/figures/logo.png",
  "_readme": "https://github.com/ggsegverse/ggseg.formats/raw/193ca3c76ed61992266a31c60727c337a969cd66/README.md",
  "_rundeps": [
    "cli",
    "geometries",
    "lifecycle",
    "Rcpp",
    "rlang",
    "sfheaders"
  ],
  "_vignettes": [
    {
      "source": "atlas-manipulation.Rmd",
      "filename": "atlas-manipulation.html",
      "title": "Customising brain atlases",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The manipulation toolkit",
        "Keeping and removing regions",
        "Context regions",
        "Renaming regions",
        "Managing views",
        "Cleaning up geometry",
        "Reordering and gathering",
        "Adding metadata",
        "A full pipeline"
      ],
      "created": "2026-02-09 10:30:08",
      "modified": "2026-06-06 18:50:03",
      "commits": 6
    },
    {
      "source": "migrating-atlases.Rmd",
      "filename": "migrating-atlases.html",
      "title": "Migrating atlas packages to sf-optional",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The recipe",
        "What migrate_atlas_files() does",
        "Keeping sf instead",
        "Verifying the result"
      ],
      "created": "2026-06-11 14:43:27",
      "modified": "2026-06-11 14:43:27",
      "commits": 1
    },
    {
      "source": "ggseg.formats.Rmd",
      "filename": "ggseg.formats.html",
      "title": "The ggseg_atlas object",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is a ggseg_atlas?",
        "Anatomy of an atlas",
        "Three atlas types",
        "Core: the region table",
        "Querying an atlas",
        "Extracting render-ready data",
        "Checking and converting"
      ],
      "created": "2026-02-09 22:32:59",
      "modified": "2026-06-11 20:34:13",
      "commits": 5
    }
  ],
  "_score": 8.892130382070816,
  "_indexed": false,
  "_nocasepkg": "ggseg.formats",
  "_universes": [
    "r-multiverse-staging"
  ],
  "_indexurl": "https://ggsegverse.r-universe.dev/ggseg.formats",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-10-14T07:19:12.000Z",
      "distro": "resolute",
      "commit": "193ca3c76ed61992266a31c60727c337a969cd66",
      "fileid": "https://r2.ropensci.org/daa809cd02b2a1d27143ca690b217cf0d1df3e8be9f35d1c09d1e1de6ffb2720",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/38526939529"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-10-14T07:19:11.000Z",
      "distro": "resolute",
      "commit": "193ca3c76ed61992266a31c60727c337a969cd66",
      "fileid": "https://r2.ropensci.org/ef35e23266f137a2d798950f445da0c45499be395b5f22a16cf43ef80d7ce6dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/38526939529"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-10-14T07:40:10.000Z",
      "commit": "193ca3c76ed61992266a31c60727c337a969cd66",
      "fileid": "https://r2.ropensci.org/798feafac2a3dabd8fb8007da157b52879733a91373d43c70f38a9fba9799dba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/38526939529"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.4",
      "date": "2026-10-14T07:40:39.000Z",
      "commit": "193ca3c76ed61992266a31c60727c337a969cd66",
      "fileid": "https://r2.ropensci.org/d94d877db0e105331a38fedbc04737c03288f37965280d08cb0ac9cb25a7c843",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/38526939529"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4",
      "date": "2026-10-14T07:19:17.000Z",
      "commit": "193ca3c76ed61992266a31c60727c337a969cd66",
      "fileid": "https://r2.ropensci.org/cdfd80a91516cf051d3d1be6a3b7a734a92972a1d92524ca8b819604bf42f69d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/38526939529"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-10-14T07:18:36.000Z",
      "commit": "193ca3c76ed61992266a31c60727c337a969cd66",
      "fileid": "https://r2.ropensci.org/8d98fb479ed1ab38f6dcfe9a2ba84085f4d3203326c2cfd8d5c27304351c1864",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/38526939529"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-10-14T07:18:17.000Z",
      "commit": "193ca3c76ed61992266a31c60727c337a969cd66",
      "fileid": "https://r2.ropensci.org/aacd1cd13d36d171673c3032f8938698740fa4e00f6a0eeec73dec1272571940",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/38526939529"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.4",
      "date": "2026-10-14T07:18:15.000Z",
      "commit": "193ca3c76ed61992266a31c60727c337a969cd66",
      "fileid": "https://r2.ropensci.org/61ac8bdf0956eefaf5c41bbae17f9cb39167cb8f8d69f349f67b0a2768208198",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse-staging/actions/runs/38526939529"
    }
  ]
}