{"id":28423810,"url":"https://github.com/bbuchsbaum/fmriarrow","last_synced_at":"2025-10-25T16:41:09.805Z","repository":{"id":297140046,"uuid":"995774111","full_name":"bbuchsbaum/fmriarrow","owner":"bbuchsbaum","description":"parquet based file format for fmri data","archived":false,"fork":false,"pushed_at":"2025-06-04T09:11:18.000Z","size":173,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-04T09:11:59.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbuchsbaum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-04T01:51:30.000Z","updated_at":"2025-06-04T09:11:21.000Z","dependencies_parsed_at":"2025-06-04T09:12:04.263Z","dependency_job_id":"ca8207fd-e889-4c1d-9603-44fd9c63cdcd","html_url":"https://github.com/bbuchsbaum/fmriarrow","commit_stats":null,"previous_names":["bbuchsbaum/fmriarrow"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bbuchsbaum/fmriarrow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuchsbaum%2Ffmriarrow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuchsbaum%2Ffmriarrow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuchsbaum%2Ffmriarrow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuchsbaum%2Ffmriarrow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbuchsbaum","download_url":"https://codeload.github.com/bbuchsbaum/fmriarrow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbuchsbaum%2Ffmriarrow/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262084706,"owners_count":23256289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-05T09:09:37.377Z","updated_at":"2025-10-25T16:41:04.773Z","avatar_url":"https://github.com/bbuchsbaum.png","language":"R","readme":"# fmriarrow\n\nThis package provides helper functions for storing fMRI time series in\nApache Parquet files and querying them efficiently. The Parquet files\nuse 0-based voxel coordinates and a Morton (Z-order) index so that\nspatially nearby voxels are stored contiguously on disk.\n\n## Basic workflow\n\n```r\nlibrary(neuroim2)\nlibrary(fmriarrow)\n\n# create or load a NeuroVec object\nnv \u003c- neuroim2::emptyNeuroVec(c(2, 2, 1, 2))\n\n# convert to Parquet\noutfile \u003c- tempfile(fileext = \".parquet\")\nneurovec_to_fpar(nv, outfile, subject_id = \"subj01\")\n\n# read metadata back\nmd \u003c- read_fpar_metadata(outfile)\n\n# query a small ROI (0-based coordinates)\nroi \u003c- read_fpar_coords_roi(outfile, c(0, 1), c(0, 1), c(0, 0), exact = TRUE)\n```\n\nCoordinates stored in the Parquet file are **0-based**, whereas\n`neuroim2` works with 1-based indices. When querying by coordinates you\nmust supply the 0-based values.\n\nThe query helpers operate on a single Parquet file at a time. For\ncohort-level analyses you can use `arrow::open_dataset()` on a directory\nof such files.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbuchsbaum%2Ffmriarrow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbuchsbaum%2Ffmriarrow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbuchsbaum%2Ffmriarrow/lists"}