
Cluster the genes by Z-score together
rs_hotspot_cluster_genes.Rd
Builds an average-linkage dendrogram over the pair Z-scores and assigns
modules as HotSpot's
compute_modules does.
Arguments
- z_matrix
Numerical matrix. Symmetric gene x gene Z-scores with a zero diagonal, as returned by
rs_hotspot_gene_cor(). Must be finite.- fdr_threshold
Float. BH level at which a pair Z-score counts as significant.
- min_size
Integer. Minimum number of genes per module.