popari.tl.find_differential_genes

popari.tl.find_differential_genes#

popari.tl.find_differential_genes(trained_model, level=0, top_gene_limit=1)[source]#

Identify genes/features that distinguish differential metagenes within a group.

This type of analysis is only valid for runs of Popari in which metagene_mode="differential" was used.

Parameters:
  • trained_model (Popari) – the trained Popari model.

  • top_gene_limit (int) – the number of top genes to mark as differential for each metagene in a dataset.

Returns:

The names of genes that are differentially expressed with respect to their group.