This function draw Venn diagrams, using the correlation data generated from
.EIF_correlation()
.
It should not be used directly, only inside .plot_Corr_RNAseq_TCGA_GTEX()
function.
Side effects:
(1) Venn diagrams on screen and as pdf file to show the overlap of EIF correlating genes
.CORs_vennplot(df, tissue_type, sample_type, CORs_type)
correlation data
input argument of .plot_Corr_RNAseq_TCGA_GTEX()
tumor or normal for the title of Venn diagram
posCOR or negCORs for the title of Venn diagram
Other helper function for correlation analysis plotting:
.CORs_coeff_heatmap()
,
.CORs_summary_bargraph()
,
.pathway_dotplot()
if (FALSE) {
.CORs_vennplot(
df = EIF.cor.tumor[[3]],
tissue_type = tissue_type,
sample_type = "tumor",
CORs_type = "posCOR")
}