This function calculates the correlation coefficients between every two genes and plot the correlation matrix with the function.

.matrix_plot(df)

Arguments

df

output of TCGA_CNV_value \%>\% select(all_of(EIF)) generated inside .plot_matrix_CNVcorr_TCGA()

Details

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

See also

Other helper function for CNV data plotting: .CNV_barplot(), .CNV_sum_barplot(), .CNVratio_boxplot()

Examples

if (FALSE) {
TCGA_CNV_value %>%
  dplyr::select(all_of(gene_list)) %>%
  .matrix_plot()
}