make_hexbin_label {schex}R Documentation

Group label plot position.

Description

Group label plot position.

Usage

make_hexbin_label(sce, col)

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

#' # 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")

[Package schex version 1.6.3 Index]