Generates a correlation heatmap from a signature matrix and marks
significance with asterisks.
Usage
corr_expr(sig, log = FALSE, cor_method = "pearson", matrix = FALSE, ...)
Arguments
- sig
Signature matrix.
- log
Logical; apply log(x + 1) before correlation.
- cor_method
Correlation method: "pearson" or "spearman".
- matrix
Logical; print correlation and p-value matrices.
- ...
Additional parameters passed to corrplot().
Value
Correlation heatmap of cell types based on expression.