domain_map¶
-
seas.domains.domain_map(domain_ROIs: numpy.ndarray, values: Optional[numpy.ndarray] = None)[source]¶ Used to generate a domain map with a specific coloration scheme. If values are a calculated metric, such as pearson correlation, each domain i in the domain map will be colored by its value values[i] in the input vector.
- Parameters
domain_ROIs – The domain map built by get_domain_map.
values – An array of values to color the domain_ROIs. It must be the same length as the number of unique indices in domain_ROIs. If no values are provided, the domain_ROIs are returned as-is.
- Returns
the domain_ROIs, with each domain reassigned from its index, to its value given by input ‘values’.
- Return type
domain_ROIs_colored