plotTD.HM: Plots results of testTDConditions

View source: R/tissue.in.depth.R

plotTD.HMR Documentation

Plots results of testTDConditions

Description

as three heatmaps: two shows mean per-condition spatial feature distribution and one show log fold change

Usage

plotTD.HM(
  comp,
  cond.titles = c("cond1", "cond2"),
  order = NULL,
  l2fc.zlim = NULL,
  feature.class = NULL,
  log = TRUE,
  col = hcl.colors(100, "YlOrRd", rev = TRUE),
  fdr.thrs = c(`*` = 0.05, . = 0.2),
  feature.names.map = NULL
)

Arguments

comp

list, output of testTDConditions

cond.titles

condition titles to be plot on top of heatmaps

order

feature order, NULL (default) for no reordering

l2fc.zlim

range to trim log fold change

feature.class

list (or matrix of columns) with feature annotations to be shown by color

fdr.thrs

named numerical list used to show levels of significance on log fold change plot, default is c('*'=0.05,'.'=0.2)

feature.names.map

named vector that maps feature ids used in comp to display names

cols

cols to be used for condition heatmaps


iaaka/visutils documentation built on Jan. 17, 2025, 11:29 p.m.