NMFDoubletsPlotModulesInCell: Plot cells' expression of modules

Description Usage Arguments Value

View source: R/NMFDoublets.R

Description

For inspecting why particular cells do or don't get called as doublets. Makes a dot plot to represent NMF module expression within a particular group of cells. Expression level is represented by color and whether the cell passes the threshold for expression of that module is represented by shape.

Usage

1
2
3
4
5
6
NMFDoubletsPlotModulesInCell(
  object,
  modules,
  cells,
  module.expressed.thresh = Inf
)

Arguments

object

An URD object

modules

(Character vector) Modules to plot (Column names of @nmf.c1)

cells

(Character vector) Cells to plot on y-axis

module.expressed.thresh

(Numeric) Threshold for module expression. Will change the shape of points to emphasize whether they made cut-offs.

Value

A ggplot2 object


farrellja/URD documentation built on June 17, 2020, 4:48 a.m.