Aggregate metabolite-mediated communication at the pathway level. Due to the large number of pathway associations, this function uses a simplified approach focusing on top pathways.
aggregateByPathway(object, top_pathways = 50, min_metabolites = 3)Updated scMetaLink object with pathway_aggregated slot filled