plot_variance_moransI_decomposition

class multispaeti.plot_variance_moransI_decomposition(msPCA, *, sparse_approx=True, **kwargs)

Plot the decomposition of variance and Moran’s I of the MULTISPATI-PCA eigenvalues.

The bounds of Moran’s I and the expected value for uncorrelated data are indicated as well.

Parameters:
  • msPCA (MultispatiPCA) – An instance of MultispatiPCA that has been fitted so that variance and Moran’s I contributions to the eigenvalues have been calculated.

  • sparse_approx (bool) – Whether to use a sparse approximation to calculate the decomposition.

  • kwargs – Other keyword arguments are passed to matplotlib.pyplot.scatter()

Return type:

Figure

Raises: