R/COR.R
dot-combine_CORs_summary.RdThis function combines the summary of number of posCORs or negCORs from
sample types, using the CORs table generated from .EIF_correlation().
It should not be used directly, only inside .plot_Corr_RNAseq_TCGA_GTEX()
function.
.combine_CORs_summary(COR_tbl1, sample_type1, COR_tbl2, sample_type2)a COR summary table of specific sample type EIF.cor.tumor[[2]]
the label of sample type where COR_df1 is derived from
a COR summary table of specific sample type EIF.cor.normal[[2]]
the label of sample type where COR_df2 is derived from
a data frame with combined COR summary table
Other helper function for correlation analysis:
.combine_CORs_list(),
.get_cluster_genes(),
.is_significant_correlation()
if (FALSE) {
.combine_CORs_summary(
COR_tbl1 = EIF.cor.tumor[[2]], sample_type1 = "tumor",
COR_tbl2 = EIF.cor.normal[[2]], sample_type2 = "normal")
}