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, alpha = 1, shape = 16)

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

alpha

numeric between 0 to 1, dot opacity for each cell, default 1

Value

a ggplot object


KlugerLab/DAseq documentation built on April 13, 2021, 9:02 p.m.