| make_hexbin_label {schex} | R Documentation |
Group label plot position.
make_hexbin_label(sce, col) ## S4 method for signature 'Seurat' make_hexbin_label(sce, col) ## S4 method for signature 'SingleCellExperiment' make_hexbin_label(sce, col)
sce |
A |
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. |
A dataframe.
Seurat: Group label position for
Seurat object.
SingleCellExperiment: Group label position for
SingleCellExperiment object.
#' # 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")