make_hexbin_label: Group label plot position.

Description Usage Arguments Value Examples

View source: R/make_hexbin_label.R

Description

Group label plot position.

Usage

1

Arguments

sce

A SingleCellExperiment or Seurat-class object.

col

The name referring to one column in meta data for which the label position on the plot is calculated for every level. The chosen column needs to be a factor.

Value

A dataframe.

Examples

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

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