plotlabelsmap: Plot labels in a dimensional reduction representation

View source: R/RaceID.R

plotlabelsmapR Documentation

Plot labels in a dimensional reduction representation

Description

This functions plots cell labels into a two-dimensional t-SNE map, UMAP, or a Fruchterman-Rheingold graph layout of the singe-cell transcriptome data.

Usage

plotlabelsmap(object, labels = NULL, fr = FALSE, um = FALSE, cex = 0.5)

Arguments

object

SCseq class object.

labels

Vector of labels for all cells to be highlighted in the t-SNE map. The order has to be the same as for the columns in slot ndata of the SCseq object. Default is NULL and cell names are highlighted.

fr

logical. If TRUE then plot Fruchterman-Rheingold layout. Default is FALSE.

um

logical. If TRUE then plot umap dimensional reduction representation. Default is FALSE.

cex

positive real number. Size of the labels. Default is 0.5.

Value

None


RaceID documentation built on Sept. 28, 2023, 5:06 p.m.