plotColorOverlap: plotColorOverlap

plotColorOverlapR Documentation

plotColorOverlap

Description

Plot overlap (Adopted from the Seurat Package)

Usage

plotColorOverlap(
  object,
  feature1,
  feature2,
  pt_size = 3,
  get.map = F,
  as.layer = F,
  two.colors = c("purple", "lightgreen"),
  negative.color = "darkgrey",
  col.threshold = 0.8,
  smooth = T,
  smooth_span = 0.2,
  normalize = T
)

Arguments

object

SPATA2 object

feature1

Character value. feature or gene to plot

feature2

Character value. feature or gene to plot

pt_size

Numeric value. Specifies the size of all points.

get.map

Logical.If TRUE plot only the color map

as.layer

Logical.If TRUE plot only return gglayer

two.colors

Character value, two colors

negative.color

Character value, negative color

col.threshold

Balance the colors

smooth

Logical. If TRUE, a loess fit is used to smooth the values.

smooth_span

Numeric value. Controls the degree of smoothing. Given to argument span of stats::loess().

normalize

Normalize Values

Author(s)

Dieter Henrik Heiland


heilandd/SPATAwrappers documentation built on Oct. 2, 2022, 1:40 p.m.