maxfuse.model.Fusor

class maxfuse.model.Fusor(shared_arr1, shared_arr2, active_arr1, active_arr2, method='centroid_shrinkage', labels1=None, labels2=None)[source]

Bases: object

Main object for fitting MaxFuse.

Methods

construct_graphs

Construct neighborhood graphs and cluster them as needed.

filter_bad_matches

Filter matched pairs of low quality and score each remaining pairs.

find_initial_pivots

Perform initial matching.

get_embedding

Get CCA embedding.

get_matching

Return a copy of the desired matching.

plot_canonical_correlations

Perform CCA on active arrays aligned by initial matching, and plot the canonical correlations.

plot_singular_values

Plot the singular values of the target array for selection of SVD components.

propagate

For indices not in pivots, find their matches by nearest neighbor search.

refine_pivots

Perform refined matching.

split_into_batches

Split the data into batches.