Prop_comp_multi: Plot heatmap of real and estimated cell type proportions

Description Usage Arguments Value See Also Examples

View source: R/plot.R

Description

Generate heatmaps of real and estimated cell type proportions side by side. Pearson correlation can be calculated and printed.

Usage

1
2
3
4
5
6
7
8
Prop_comp_multi(
  prop.real,
  prop.est,
  method.name = NULL,
  title = NULL,
  eval = TRUE,
  ...
)

Arguments

prop.real

a matrix of real cell type proportions

prop.est

a matrix or a list of matrices of estimated cell type proportions

method.name

vector of the names of estimation methods. Default is NULL and the names will be generated automatically as 'Est1', 'Est2', ...

title

a string of the title of the plot

eval

logical, default as TRUE. If TRUE, pearson correlation evaluation will be printed on the figure.

Value

a 'ggplot' object with [ggplot2::geom_tile]

See Also

Abs_diff_multi, Eval_multi, Scatter_multi

Examples

1
# generate random data

kalpita23/scRNA_package documentation built on June 26, 2020, 12:15 a.m.