Assigns a weighted importance score to each gene module based on which eigenvectors (and their eigenvalue weights) its member genes are loaded on. The module order is then re-indexed from most to least important.
RankGeneModules(gene_partition, gene_indicator, eigen_values)A named factor of cluster assignments (output of
ClusterGenes()).
A binary matrix (genes × eigenvectors) indicating
significant gene loadings (output of SelectSignificantGenes()).
Numeric vector of eigenvalues corresponding to the
columns of gene_indicator (e.g., RunSVD(P_diff)$values).
A named integer factor of module assignments, re-ranked so that
module 1 is the most important.
if (FALSE) {
gene_partition_ranked <- RankGeneModules(gene_partition, gene_indicator, evd$values)
}