{
  "_id": "6a4a75fd1e9cffeb4b833afd",
  "Package": "ggseg.formats",
  "Title": "Brain Atlas Data Structures for the 'ggsegverse' Ecosystem",
  "Version": "0.0.4.9000",
  "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://ggsegverse.r-universe.dev",
  "Date/Publication": "2026-07-05 14:21:35 UTC",
  "RemoteUrl": "https://github.com/ggsegverse/ggseg.formats",
  "RemoteRef": "HEAD",
  "RemoteSha": "0a33020ee5674e55feacffbcac9cd912a85e0bbd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-05 15:15:51 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": "ggsegverse",
  "_type": "src",
  "_file": "ggseg.formats_0.0.4.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/aff8aea6cda46cb354ac3833fb1127b1de95a0924bbceff11310c11a4d6942a6",
  "_filesize": 4340506,
  "_sha256": "aff8aea6cda46cb354ac3833fb1127b1de95a0924bbceff11310c11a4d6942a6",
  "_expires": "2026-10-13T15:19:23.000Z",
  "_created": "2026-07-05T15:15:51.000Z",
  "_published": "2026-07-05T15:19:25.791Z",
  "_jobs": [
    {
      "job": 85235159133,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8093090738"
    },
    {
      "job": 85235159119,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093090313"
    },
    {
      "job": 85235159124,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8093085097"
    },
    {
      "job": 85235159131,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093082153"
    },
    {
      "job": 85234888554,
      "time": 222,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093068722"
    },
    {
      "job": 85235159135,
      "time": 165,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8093090270"
    },
    {
      "job": 85235159126,
      "time": 141,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8093087290"
    },
    {
      "job": 85235159121,
      "time": 127,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8093085553"
    },
    {
      "job": 85235159137,
      "time": 133,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8093086135"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ggsegverse/actions/runs/28745223995",
  "_status": "success",
  "_upstream": "https://github.com/ggsegverse/ggseg.formats",
  "_commit": {
    "id": "0a33020ee5674e55feacffbcac9cd912a85e0bbd",
    "author": "Athanasia Monika Mowinckel <14014329+drmowinckels@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "ci: add dev-version-bump caller stub (#30)",
    "time": 1783261295
  },
  "_maintainer": {
    "name": "Athanasia Mo Mowinckel",
    "email": "a.m.mowinckel@psykologi.uio.no",
    "login": "drmowinckels",
    "mastodon": "@Drmowinckels@fosstodon.org",
    "bluesky": "@drmowinckels.io",
    "orcid": "0000-0002-5756-0223",
    "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
  },
  "_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": true,
  "_usedby": 21,
  "_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": 13
    }
  ],
  "_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": 92,
      "uuid": 14014329
    },
    {
      "user": "copilot",
      "count": 2,
      "uuid": 198982749
    }
  ],
  "_userbio": {
    "uuid": 84540149,
    "type": "organization",
    "name": "ggsegverse",
    "followers": 55,
    "description": "ggseg-suite packages from the Lifebrain EU project lead by Center of Lifespan Changes in Brain and Cogntion - UiO"
  },
  "_downloads": {
    "count": 1406,
    "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": 69,
  "_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/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_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/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ggsegverse/ggseg.formats/raw/HEAD/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.870751238808973,
  "_indexed": true,
  "_nocasepkg": "ggseg.formats",
  "_universes": [
    "ggsegverse",
    "drmowinckels"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4.9000",
      "date": "2026-07-05T15:18:25.000Z",
      "distro": "resolute",
      "commit": "0a33020ee5674e55feacffbcac9cd912a85e0bbd",
      "fileid": "https://r2.ropensci.org/b9e863461aa7aa296e5d9c2d28ceae5a3cb7223a092b273f8f3ad4bc4d881178",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggsegverse/actions/runs/28745223995"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.4.9000",
      "date": "2026-07-05T15:18:23.000Z",
      "distro": "resolute",
      "commit": "0a33020ee5674e55feacffbcac9cd912a85e0bbd",
      "fileid": "https://r2.ropensci.org/988ea797ca51d4ecf33d79acf847fd1e53d343e17c4eca88507a4ce224c7a7e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggsegverse/actions/runs/28745223995"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4.9000",
      "date": "2026-07-05T15:17:44.000Z",
      "commit": "0a33020ee5674e55feacffbcac9cd912a85e0bbd",
      "fileid": "https://r2.ropensci.org/bb0c487706756dc3f32b237a0b7d0662f964e84d10b490859b705a0779ae91ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggsegverse/actions/runs/28745223995"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.4.9000",
      "date": "2026-07-05T15:17:27.000Z",
      "commit": "0a33020ee5674e55feacffbcac9cd912a85e0bbd",
      "fileid": "https://r2.ropensci.org/f4cc0f5f5edc416166f06da78dd16241e40cb41a1b80cc102c806c79bba5530e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggsegverse/actions/runs/28745223995"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4.9000",
      "date": "2026-07-05T15:18:56.000Z",
      "commit": "0a33020ee5674e55feacffbcac9cd912a85e0bbd",
      "fileid": "https://r2.ropensci.org/114a4a0b16ffdffcea86cd6511b0ceda224db866d934593e110531db8887254a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ggsegverse/actions/runs/28745223995"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4.9000",
      "date": "2026-07-05T15:17:45.000Z",
      "commit": "0a33020ee5674e55feacffbcac9cd912a85e0bbd",
      "fileid": "https://r2.ropensci.org/91e646d1dae95aa0f2799b5981c081bc4035f77b13c559e9d2eb40eff35b19cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggsegverse/actions/runs/28745223995"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.4.9000",
      "date": "2026-07-05T15:17:33.000Z",
      "commit": "0a33020ee5674e55feacffbcac9cd912a85e0bbd",
      "fileid": "https://r2.ropensci.org/9ff03f0240184037edc5582ec83a3924896130de6e00cdffbb71f4473638655f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggsegverse/actions/runs/28745223995"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.4.9000",
      "date": "2026-07-05T15:17:36.000Z",
      "commit": "0a33020ee5674e55feacffbcac9cd912a85e0bbd",
      "fileid": "https://r2.ropensci.org/d8358a258cd7fdd0386ec28b3bd061ecec2229ffdf669e3bd2307ec1ecf135e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ggsegverse/actions/runs/28745223995"
    }
  ]
}