plot_hexbin_density: Plot of density of observations from single cell data in...

Description Usage Arguments Value Examples

View source: R/plot_hexbin_density.R

Description

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

Usage

1
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

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

schex documentation built on Nov. 8, 2020, 5:56 p.m.