Collapse gene-level expression data to orthogroup level
Source:R/network_comparison.R
exp_genes2orthogroups.Rd
For a given list of expression data, this function replaces genes with their corresponding orthogroups to allow inter-species comparisons.
Arguments
- explist
List of expression data frames or SummarizedExperiment objects.
- og
Data frame of 3 columns corresponding to orthogroup, species ID, and gene ID, respectively. Species IDs must be the same as the names of the expression list.
- summarize
Centrality measure to summarize multiple paralogous genes in the same orthogroup. One of "median" or "mean". Default: "median".