ovrlpy

Submodules

Attributes

SCALEBAR_PARAMS

Default scalebar parameters

UMAP_2D_PARAMS

Default 2D-UMAP parameters

UMAP_RGB_PARAMS

Default RGB-UMAP parameters

Classes

Visualizer

A class to visualize spatial transcriptomics data.

Functions

compute_VSI(df, pca_components[, min_expression, ...])

Calculate the vertical signal integrity (VSI).

detect_doublets(integrity_map, signal_map[, ...])

This function is used to find individual low peaks of signal integrity in the tissue

get_pseudocell_locations(df[, genes, min_distance, ...])

Returns a list of local maxima in a kde of the data frame,

plot_region_of_interest(x, y, coordinate_df, ...[, ...])

Plot a comprehensive overview of a zoomed-in region of interest.

plot_signal_integrity(integrity, signal[, ...])

Plots the determined signal integrity of the tissue sample in a signal integrity map.

pre_process_coordinates(coordinate_df[, grid_size, ...])

Runs the pre-processing routine of the coordinate dataframe.

run(df[, n_expected_celltypes, cell_diameter, ...])

This is a wrapper function that computes the integrity map for a given spatial

sample_expression_at_xy(df, sampling_points_x, ...[, ...])

Returns a matrix of gene expression vectors at each local maximum.

Package Contents

ovrlpy.SCALEBAR_PARAMS: dict[str, Any]

Default scalebar parameters

ovrlpy.UMAP_2D_PARAMS: dict[str, Any]

Default 2D-UMAP parameters

ovrlpy.UMAP_RGB_PARAMS: dict[str, Any]

Default RGB-UMAP parameters