Learn R Programming

RaceID (version 0.1.3)

plotmap: Plotting a t-SNE map

Description

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

Usage

plotmap(object, final = TRUE, tp = 1, fr = FALSE, cex = 0.5)

Arguments

object

SCseq class object.

final

logical. If TRUE, then highlight final clusters after outlier identification. If FALSE, then highlight initial clusters prior to outlier identification. Default is TRUE.

tp

Number between 0 and 1 to change transparency of dots in the map. Default is 1.

fr

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

cex

size of data points. Default value is 0.5.

Value

None