This function calculates the correlation coefficients between every two genes and plot the correlation matrix with the function.
.matrix_plot(df)
output of TCGA_CNV_value \%>\% select(all_of(EIF))
generated inside .plot_matrix_CNVcorr_TCGA()
This plot function uses dataset TCGA_CNV_value
generated
from initialize_cnv_data()
function.
It should not be used directly, only inside
.plot_matrix_CNVcorr_TCGA()
function.
Side effects:
(1) the correlation matrix plot on screen and as saved pdf files
Other helper function for CNV data plotting:
.CNV_barplot()
,
.CNV_sum_barplot()
,
.CNVratio_boxplot()