Generate heatmaps of real and estimated cell type proportions side by side. Pearson correlation can be calculated and printed.
Prop_comp_multi(
prop.real,
prop.est,
method.name = NULL,
title = NULL,
eval = TRUE,
...
)
a matrix of real cell type proportions
a matrix or a list of matrices of estimated cell type proportions
vector of the names of estimation methods. Default is NULL and the names will be generated automatically as 'Est1', 'Est2', ...
a string of the title of the plot
logical, default as TRUE. If TRUE, pearson correlation evaluation will be printed on the figure.
a 'ggplot' object with [ggplot2::geom_tile]
# generate random data