Learn R Programming

RaceID (version 0.1.3)

plotsymbolsmap: Plotting groups as different symbols in the t-SNE map

Description

This functions highlights groups of cells by different symbols in a two-dimensional t-SNE map or a Fruchterman-Rheingold graph layout of the singe-cell transcriptome data.

Usage

plotsymbolsmap(object, types, subset = NULL, samples_col = NULL,
  cex = 0.25, fr = FALSE, leg = TRUE, map = TRUE)

Arguments

object

SCseq class object.

types

Vector assigning each cell to a type 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 each cell is highlighted by a different symbol.

subset

Vector containing a subset of types from types to be highlighted in the map. Default is NULL and all types are shown.

samples_col

Vector of colors used for highlighting all samples contained in samples in the map. Default is NULL.

cex

size of data points. Default value is 0.25.

fr

logical. If TRUE then plot t-SNE map, else plot Fruchterman-Rheingold layout.

leg

logical. If TRUE then the legend is shown. Default value is TRUE.

map

logical. If TRUE then data points are shown. Default value is TRUE.

Value

None