Scatter_multi: Plot Scatter plot of real and estimated cell type proportions

View source: R/plot.R

Scatter_multiR Documentation

Plot Scatter plot of real and estimated cell type proportions

Description

Generate a series of scatter plot for each cell type between real and estimated cell type proportions

Usage

Scatter_multi(
  prop.real,
  prop.est,
  method.name = NULL,
  title = NULL,
  oneline = FALSE,
  ...
)

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

oneline

logical, default as FALSE. If TRUE, set nrow = 1 in facet_wrap(), all plots are in one row.

Value

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

See Also

Prop_comp_multi, Abs_diff_multi, Eval_multi


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