geneGATer.pl.attention_pca#

geneGATer.pl.attention_pca(model, data, font_size=14, n_components=10)#

Create Attention PCA plot.

Parameters
  • model – The model from learn_model function.

  • data – The data from learn_model function.

  • font_size (default: 14) – Font size for the plot.

  • n_components (default: 10) – Number of components for the PCA.

Returns

Attention PCA plot.

-fig (figure)

The matplotlib figure object.

-pca (PCA) The PCA object.