plot_hexbin_density {schex}R Documentation

Plot of density of observations from single cell data in bivariate hexagon cells.

Description

Plot of density of observations from single cell data in bivariate hexagon cells.

Usage

plot_hexbin_density(sce, title = NULL, xlab = NULL, ylab = NULL)

Arguments

sce

A SingleCellExperiment or Seurat-class object.

title

A string containing the title of the plot.

xlab

A string containing the title of the x axis.

ylab

A string containing the title of the y axis.

Value

A ggplot2{ggplot} object.

Examples

#' # For Seurat object
library(Seurat)
data("pbmc_small")
pbmc_small <- make_hexbin(pbmc_small, 10, dimension_reduction = "PCA")
plot_hexbin_density(pbmc_small)

[Package schex version 1.4.0 Index]