Getting started
Installation
Requirements
Recommended: conda environment
PyPI
From source (latest development version)
Optional dependencies
WSI support (SVS, NDPI, CZI files)
Quickstart
Load and register MALDI + H&E
Normalise
Dimensionality reduction
Clustering
Visualise
Add annotations to an existing sdata object
User guide
Loading and aligning MALDI + H&E
Overview
Basic usage
Parameters
Output SpatialData structure
Custom peaks
Registration quality
QuPath annotations
During registration
After registration
Exporting from QuPath
Accessing annotation labels
Visualising with spatialdata-plot
GraphPCA and clustering
GraphPCA
Spatial smoothing
K-means clustering
Visualising clusters as a pseudo-image
Pseudo-image generation
Categorical columns
Continuous columns
Parameters
Output
Landmark alignment GUI
Launch the GUI
Workflow
Apply the alignment
Multiscale images
API reference
goatpy
Submodules
goatpy.annotation
Functions
Module Contents
goatpy.auto_align
Key design decisions
Coordinate system
Functions
Module Contents
goatpy.data
goatpy.filter
Usage
Functions
Module Contents
goatpy.graphpca_mod
Functions
Module Contents
goatpy.he_image
Functions
Module Contents
goatpy.io
Functions
Module Contents
goatpy.landmark_alignment
Classes
Functions
Module Contents
goatpy.preprocessing
Functions
Module Contents
goatpy.pseudo_image
Functions
Module Contents
goatpy.tools
Functions
Module Contents
Development
Changelog
0.1.0 (2025)
New features
Breaking changes from 0.0.1
Contributing
Development setup
Running tests
Building the docs locally
goatpy
Index
Edit on GitHub
Index
A
|
C
|
F
|
G
|
H
|
I
|
K
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
U
A
active_dataset (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
add_annotations() (in module goatpy.he_image)
Add_Pseudo_Image() (in module goatpy.pseudo_image)
add_qupath_annotations() (in module goatpy.annotation)
add_uns() (in module goatpy.pseudo_image)
align_image_using_landmarks() (in module goatpy.landmark_alignment)
annotate_glycans() (in module goatpy.tools)
annotate_per_pixel() (in module goatpy.annotation)
C
centroids_to_pixel_squares() (in module goatpy.io)
clear_all() (goatpy.landmark_alignment.LandmarkAlignmentWidget method)
create_image_from_data() (in module goatpy.pseudo_image)
F
filter_spatialdata() (in module goatpy.filter)
G
generate_continuous_bins() (in module goatpy.pseudo_image)
generate_random_colors() (in module goatpy.pseudo_image)
get_kmean_clusters() (in module goatpy.graphpca_mod)
getimage() (in module goatpy.io)
glyco_spatialdata() (in module goatpy.io)
goatpy
module
goatpy.annotation
module
goatpy.auto_align
module
goatpy.data
module
goatpy.filter
module
goatpy.graphpca_mod
module
goatpy.he_image
module
goatpy.io
module
goatpy.landmark_alignment
module
goatpy.preprocessing
module
goatpy.pseudo_image
module
goatpy.tools
module
graphpca_spatialdata() (in module goatpy.graphpca_mod)
H
he_image_key (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
he_landmarks (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
he_scale_factor (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
he_scale_level (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
he_sd (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
he_spatialdata() (in module goatpy.he_image)
I
init_ui() (goatpy.landmark_alignment.LandmarkAlignmentWidget method)
K
kneighbors_graph_spatial() (in module goatpy.graphpca_mod)
L
LandmarkAlignmentWidget (class in goatpy.landmark_alignment)
launch_landmark_gui() (in module goatpy.landmark_alignment)
load_and_align() (in module goatpy.auto_align)
M
maldi_image_key (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
maldi_landmarks (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
maldi_scale_factor (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
maldi_scale_level (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
maldi_sd (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
map_categories_to_colors() (in module goatpy.pseudo_image)
module
goatpy
goatpy.annotation
goatpy.auto_align
goatpy.data
goatpy.filter
goatpy.graphpca_mod
goatpy.he_image
goatpy.io
goatpy.landmark_alignment
goatpy.preprocessing
goatpy.pseudo_image
goatpy.tools
N
normalize_matrix() (in module goatpy.preprocessing)
normalize_spatialdata() (in module goatpy.preprocessing)
O
on_click_combined() (goatpy.landmark_alignment.LandmarkAlignmentWidget method)
on_click_split() (goatpy.landmark_alignment.LandmarkAlignmentWidget method)
P
parmap() (in module goatpy.io)
postpone_transformation() (in module goatpy.landmark_alignment)
R
rd_peaks() (in module goatpy.io)
rd_peaks_from_package() (in module goatpy.io)
S
save_landmarks() (goatpy.landmark_alignment.LandmarkAlignmentWidget method)
set_active_dataset() (goatpy.landmark_alignment.LandmarkAlignmentWidget method)
setup_layers() (goatpy.landmark_alignment.LandmarkAlignmentWidget method)
split_view (goatpy.landmark_alignment.LandmarkAlignmentWidget attribute)
U
undo_last() (goatpy.landmark_alignment.LandmarkAlignmentWidget method)
update_status() (goatpy.landmark_alignment.LandmarkAlignmentWidget method)