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)

Arguments

df

correlation data

tissue_type

input argument of .plot_Corr_RNAseq_TCGA_GTEX()

sample_type

tumor or normal for the title of Venn diagram

CORs_type

posCOR or negCORs for the title of Venn diagram

See also

Other helper function for correlation analysis plotting: .CORs_coeff_heatmap(), .CORs_summary_bargraph(), .pathway_dotplot()

Examples

if (FALSE) {
.CORs_vennplot(
df = EIF.cor.tumor[[3]],
tissue_type = tissue_type,
sample_type = "tumor",
CORs_type = "posCOR")
}