pyXenium.pathway.compute_pathway_activity_matrix#

compute_pathway_activity_matrix(expression_df, pathway_definitions, *, method='weighted_sum', normalize=True)#
Parameters:
  • expression_df (DataFrame)

  • pathway_definitions (Mapping[str, Any] | DataFrame)

  • method (str)

  • normalize (bool)

Return type:

DataFrame