A function to show a heatmap sgRNA-level corrleations of the NGS samples.
plot_corr_heatmap(sgcount, df_design, cor_method = "pearson")
The input matrix contains read counts of sgRNAs for each sample.
The table contains a study design.
A string parameter of the correlation measure. One of the three - "pearson", "kendall", or "spearman" will be the string.
A pheatmap object contains the correlation heatmap
library(CB2) data(Evers_CRISPRn_RT112) plot_corr_heatmap(Evers_CRISPRn_RT112$count, Evers_CRISPRn_RT112$design)