Abs_diff_multi: Plot heatmap of Absolute difference between estimated and...

View source: R/plot.R

Abs_diff_multiR Documentation

Plot heatmap of Absolute difference between estimated and real cell type proportions

Description

Generate a series of heatmap of absolute difference between estimated and real cell type proportion with option of printing RMSD and mAD between real and estimated cell type proportions

Usage

Abs_diff_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 estmation methods. Default is NULL and the names will be generated automatically as 'Est1', 'Est2', ...

title

a string of the tile of the plot

eval

logical, default as TRUE. If TRUE, RMSD and mAD will be printed with figures

Value

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

See Also

Prop_comp_multi, Eval_multi, Scatter_multi


xuranw/MuSiC documentation built on March 7, 2024, 11:45 a.m.