neuromaps_mouse.io.load_region_data
- neuromaps_mouse.io.load_region_data(annotation, return_original=False, remap_kws=None, data_dir=None, verbose=1)[source]
Load and remap region-based annotation data.
- Parameters:
annotation (tuple) – Annotation identifier tuple (source, desc, space, ‘region’).
return_original (bool, optional) – If True, return data in original region space without remapping. Default is False.
remap_kws (dict, optional) – Keyword arguments passed to
_remap_region_data. Default is None.data_dir (str or Path, optional) – Base data directory. If None, uses the default. Default is None.
verbose (int, optional) – Verbosity level. Default is 1.
- Returns:
values (numpy.ndarray) – Annotation values remapped to Allen CCFv3 regions.
regions (list of str) – Corresponding region acronyms.
header (list of str, optional) – Column names for tabular annotations (only returned for tabular format).