CB2 (version 1.1)

plot_corr_heatmap: A function to show a heatmap sgRNA-level corrleations of the NGS samples.

Description

A function to show a heatmap sgRNA-level corrleations of the NGS samples.

Usage

plot_corr_heatmap(sgcount, df_design, cor_method = "pearson")

Arguments

sgcount

The input matrix contains read counts of sgRNAs for each sample.

df_design

The table contains a study design.

cor_method

A string parameter of the correlation measure. One of the three - "pearson", "kendall", or "spearman" will be the string.

Value

A pheatmap object contains the correlation heatmap

library(CB2) data(Evers_CRISPRn_RT112) plot_corr_heatmap(Evers_CRISPRn_RT112$count, Evers_CRISPRn_RT112$design)