Skip to contents

Annotation Registry

Browse and download brain map annotations from the neuromaps OSF repository.

neuromaps_available()
List available neuromaps annotations
fetch_neuromaps_annotation()
Download a neuromaps annotation
clear_neuromaps_cache()
Clear cached neuromaps registry data

Map Comparison

Statistical comparison of brain maps using spatial null models.

compare_maps() print(<neuromaps_enhanced_comparison>)
Compare brain maps with spatial null model significance testing
permtest_metric()
Permutation test for any metric between brain maps

Null Model Generation

Generate spatially-constrained null distributions for brain maps. generate_nulls() is the main entry point; individual methods are also available directly.

generate_nulls()
Generate null distributions for brain map data
null_alexander_bloch()
Alexander-Bloch spin test null model
null_baum()
Baum spin test null model
null_burt2018()
Burt 2018 spatial autoregressive null model
null_burt2020()
Variogram-matching null model
null_cornblath()
Cornblath spin test null model
new_null_distribution() print(<null_distribution>) summary(<null_distribution>) as.matrix(<null_distribution>) plot(<null_distribution>)
Create a null distribution object
null_moran()
Moran spectral randomization null model
null_spin_vasa() null_spin_hungarian()
Spin-test null models for brain maps

Parcellation

Convert between vertex-level and parcel-level representations.

parcellate()
Parcellate brain map data
unparcellate()
Unparcellate brain map data
vertices_to_parcels()
Aggregate vertex data into parcels
parcels_to_vertices()
Map parcel data back to vertices
get_parcel_centroids()
Compute parcel centroids

Surface Geometry

Compute geodesic distances and other surface properties.

make_surf_graph()
Build an igraph from a triangular surface mesh
get_surface_distance()
Compute geodesic distances on a surface mesh
vertex_areas()
Compute per-vertex surface areas

Transforms and Resampling

Transform brain maps between coordinate spaces using Connectome Workbench.

transform_to_space()
Transform brain maps between coordinate spaces
resample_images()
Resample brain maps for comparison
check_wb_command()
Check for Connectome Workbench

File I/O and Conversion

Read brain maps from various neuroimaging formats and convert between them.

read_brain_map_values()
Read vertex/voxel values from a brain map file
annot_to_gifti()
Convert FreeSurfer annotation to GIFTI
fsmorph_to_gifti()
Convert FreeSurfer morphometry to GIFTI