This function retrieve the gene names from the clusters in heatmap from .CORs_coeff_heatmap().

It should not be used directly, only inside .plot_Corr_RNAseq_TCGA_GTEX() function.

.get_cluster_genes(df1, df2)

Arguments

df1

combined COR data generated from .combine_CORs_list()

df2

gene name in the order of heatmap generated from .CORs_coeff_heatmap()

Value

a heatmap plot and dataframe with gene names of clustering

See also

Other helper function for correlation analysis: .combine_CORs_list(), .combine_CORs_summary(), .is_significant_correlation()

Examples

if (FALSE) {
.get_cluster_genes(df1 = DF, df2 = ht1)
}