bdm.ptsne.plot: Plot ptSNE (low-dimensional embedding)
Description
Plot ptSNE (low-dimensional embedding)
Usage
bdm.ptsne.plot(bdm, ptsne.cex = 0.5, ptsne.bg = "#FFFFFF",
class.pltt = NULL, layer = 1)
Arguments
bdm
A bdm instance as generated by bdm.init() or a list of them to make a comparative plot.
ptsne.cex
The size of the mapped data-points in the ptSNE plot. Default value is ptsne.cex = 0.5.
ptsne.bg
The background colour of the ptSNE plot. Default value is ptsne.bg = #FFFFFF (white).
class.pltt
A colour palette to show class labels in the ptSNE plot. If !is.null(bdm$wtt) cluster labels are used by default, else if !is.null(bdm$lbls) are used by default. If ptsne.pltt = NULL (default value) the default palette is used.
layer
The bdm$ptsne layer to be used (default value is layer = 1).
Examples
Run this code# NOT RUN {
bdm.example()
exMap <- bdm.ptsne.plot(exMap)
# }
Run the code above in your browser using DataLab