Skip to contents

The manifest owns semantic alignment but deliberately excludes physical source descriptors. Storage packages bind assay names to physical array locations separately and reconstruct frames with frame_from_fds_manifest().

Usage

fds_frame_manifest(x)

validate_fds_manifest(manifest)

Arguments

x

An fmri_frame.

manifest

An FDS manifest.

Value

A serializable backend-neutral manifest.

Examples

voxels <- volume_space(dim = c(2, 2, 1), affine = diag(4), template = "toy")
frame <- fmri_frame(
  assays = list(bold = matrix(rnorm(3 * n_features(voxels)), nrow = 3)),
  observations = data.frame(.obs_id = paste0("vol-", 1:3)),
  space = voxels
)
manifest <- fds_frame_manifest(frame)
manifest$shape
#> [1] 3 4
validate_fds_manifest(manifest)