plotGCluster: mapping gene expression on tsne

View source: R/plotGCluster.R

plotGClusterR Documentation

mapping gene expression on tsne

Description

mapping gene expression on tsne

Usage

  plotGCluster(dat, coord, gene, col.g=list(c1=c(0,1,1), c2=c(0,1,0), c3=c(1,1,0), alpha=0.6)
               , col.m=rgb(0.6, 0.6, 0.6, 0.4), col.b.p=c(-20, -20, -15, -15), pch=19, cex=0.4, 
               color.spec="rgb", ...)

Arguments

dat

gene expression matrix/data.frame, column is for sample

coord

single cell coordinates from tsne

gene

gene(s) should be in column names

col.g

color names for gene expression

col.m

color names for gene expression, the values are zero or NA

col.b.p

color bar position

pch

from plot

cex

from plot

color.spec

from color.scale of plotrix

...

more options of the plot

Author(s)

Ying Hu <yhu@mail.nih.gov> Chunhua Yan <yanch@mail.nih.gov>

References

##

Examples

##

CBIIT-CGBB/GCluster documentation built on Oct. 26, 2023, 4:27 a.m.