tsne_labels: scClustViz plot element: Cluster names on cluster centroid.

View source: R/shinyModules.R

tsne_labelsR Documentation

scClustViz plot element: Cluster names on cluster centroid.

Description

See plot_tsne for application.

Usage

tsne_labels(sCVd, cell_coord, lab_type)

Arguments

sCVd

An sCVdata object.

cell_coord

A numeric matrix where named rows are cells, and two columns are the x and y dimensions of the cell embedding.

lab_type

One of "ClusterNames", "ClusterNamesAll", or "Clusters". "ClusterNames" places cluster names (added to sCVdata object by labelCellTypes) at the centroid of all points sharing that cluster name (can span clusters). "ClusterNamesAll" places cluster names at the centroid of each cluster. "Clusters" places cluster ID (levels(Clusters(sCVd))) at the centroid of each cluster.


BaderLab/scClustViz documentation built on Sept. 10, 2023, 11:51 p.m.