Skip to content

TileDB example - #136

Closed
tien-tong wants to merge 2 commits into
mainfrom
tiledb-example
Closed

tien-tong wants to merge 2 commits into
mainfrom
tiledb-example

Conversation

@tien-tong

Copy link
Copy Markdown
Contributor

No description provided.

tien-tong and others added 2 commits October 17, 2026 22:00
ModelArray() can open a TileDB store from a URI once the TileDB context is
configured (e.g. a public s3:// bucket), but ModelArraySummary() stopped with
"File not found": it checked file.exists() and listed subdirectories with
local-only calls, which fail for any URI (a file:// URI fails the same way).

Resolve the storage backend first; for TileDB use TileDB's own VFS
(tiledb_vfs_is_dir / tiledb_vfs_ls) to test the store and list scalars/ and
results/, so local paths and URIs share one code path. file.exists() now runs
only in the HDF5 branch. New tests cover a file:// summary (equal to the local
summary), group internals/stray files being ignored, a missing store, and the
HDF5 path still erroring on file://.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
A parameterized report (inst/examples/rbc-s3-tiledb/) that reads the RBC
FreeSurferPost TileDB store straight from its public S3 bucket -- without
downloading the 553 GB dataset -- and fits vertex-wise GAMs of cortical
thickness on age in two Glasser parcels at opposite ends of the
sensorimotor-association axis (area 3b and area 46). It harmonizes the nine
scanning sites with CovBat, checks the result against the known maturational
ordering (3b early, 46 late), and exports CIFTI maps for Connectome Workbench.

Ships vendored Glasser-164k parcel labels, the Sydnor et al. 2021 S-A axis ranks,
and S-A brain images in that paper's Figure 2A colour scheme (all with provenance
scripts). Adds the vignette "Cloud TileDB: RBC Cortical Thickness from S3"
(pkgdown Case Studies) with a Binder badge and a binder/ environment so it can be
run in the browser, rewrites the covfam case study in modelling.Rmd to the real
ComBatFamily API, and notes remote-URI support in installations.Rmd.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 91.66%. Comparing base (b38bb25) to head (69b08b1).

Files with missing lines Patch % Lines
R/utils.R 93.33% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #136   +/-   ##
=======================================
  Coverage   91.66%   91.66%           
=======================================
  Files           6        6           
  Lines        2542     2543    +1     
=======================================
+ Hits         2330     2331    +1     
  Misses        212      212           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tien-tong tien-tong closed this Oct 18, 2026
@tien-tong
tien-tong deleted the tiledb-example branch October 18, 2026 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants