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

Description Usage Arguments Value

View source: R/utils.R

Description

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

Usage

1
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)


CB2 documentation built on July 24, 2020, 5:08 p.m.