plot_clusterSize: Cluster size plot

View source: R/plot_clusterSize.R

plot_clusterSizeR Documentation

Cluster size plot

Description

This function plots the cluster sizes of the two single cell datasets (e.g. query and reference) to be compared.

Usage

plot_clusterSize(
  sce.E1,
  sce.E2,
  decreasing = TRUE,
  name.E1 = "E1",
  name.E2 = "E2",
  col.E1 = "#F0E442",
  col.E2 = "#56B4E9",
  filename = NA,
  width = NULL,
  height = 10
)

Arguments

sce.E1, sce.E2

Data objects, namely E1 and E2.

decreasing

Boolean variable if the cluster sizes should be sorted in decreasing order. Default: TRUE.

name.E1, name.E2

Customized names for E1 and E2. Default: "E1" and "E2", respectively.

col.E1, col.E2

Customized colors for E1 and E2. Default: "#F0E442" and "#56B4E9", respectively.

filename

File name if to save the plot. Default: NA, not to save the plot.

width, height

Width and height for saved plot.


JCVenterInstitute/FRmatch documentation built on Dec. 15, 2022, 2:30 p.m.