Summarize data over structures

# S3 method for BrainSpanMap
summarize_structures(
  object,
  annotation_level = c("structure_group", "structure_name", "structure_acronym"),
  fun = colMeans
)

summarize_structures(object, ...)

# S3 method for MousebrainMap
summarize_structures(
  object,
  annotation_level = c("region", "class"),
  fun = colMeans
)

# S3 method for VoxelMap
summarize_structures(object, annotation_level = "custom_3", fun = colMeans)

Arguments

annotation_level

The structure annotation level to summarize voxels to.

fun

Function to use for summarizing voxels.

Value

A tibble with structure summaries

A tibble with structure summaries

A tibble with structure summaries