plotCellScore: Plot a score for each cell

Description Usage Arguments Value

View source: R/plots.R

Description

Produce a ggplot object with cells on 2D embedding, colored by a given score for each cell.

Usage

1
2
plotCellScore(X, score, cell.col = c("blue", "white", "red"),
  size = 0.5)

Arguments

X

matrix, 2D embedding of each cell for the plot

score

numeric vector, a single value to color each cell, continuous

cell.col

string vector, color bar to use for "score", defaul c("blue","white","red")

size

numeric, dot size for each cell, default 0.5

Value

a ggplot object


JunZhao1990/DAseq documentation built on April 30, 2020, 10:10 a.m.