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 already been used for multispaeti.MultispatiPCA.transform() so that variance and Moran’s I contributions to the eigenvalues have already been calculated.

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

Return type:

Figure