plotlabelsmap function

Plot labels in a dimensional reduction representation

Plot labels in a dimensional reduction representation

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.

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.

Returns

None

  • Maintainer: Dominic Grün
  • License: GPL-3
  • Last published: 2024-11-24

Useful links