Plot_Embed_Category: Title Plot 2D embedding with factor group as color scale

Description Usage Arguments Value Examples

View source: R/4_Plot.R

Description

Title Plot 2D embedding with factor group as color scale

Usage

1
Plot_Embed_Category(exprmatx, embd, group = "red", title = "")

Arguments

exprmatx

Dataframe dataframe with each row represents a gene and each column represents a cell

embd

datafram. By calling Embedding(exprmatx).

group

list. (default="red") corresponding to colnames of exprmatx

title

str. Fig title.

Value

a ggplot object

Examples

1
sti_vs_ctrl <- Plot_Embed_Category(exprmatx,embd,roup=c(rep("sti",3),rep("ctrl",5)))

Irenexzwen/SingleCellAnalysisFunc documentation built on Nov. 11, 2020, 10:17 a.m.