getSensitivityMatrices: getSensitivityMatrices

Description Usage Arguments Value

View source: R/sensMatrixPlots.R

Description

Plot one or more sensitivity matrices across foldchanges and expression levels. Will use 'ComplexHeatmap' if available, otherwise 'pheatmap'.

Usage

1
2
3
4
5
6
7
8
getSensitivityMatrices(
  reslist,
  bins = 5,
  unlogExpr = TRUE,
  display_numbers = TRUE,
  do.draw = TRUE,
  ...
)

Arguments

reslist

A list of analysis results, such as produced by the 'readPermResults()' function. The names of the element will be used as heatmap titles. Note that sensitivity can only be plotted when the analyses were run using 'addDE=TRUE'.

bins

Either an integer indicating the number of bins in which to (try to) split the expression levels (default 5), or a list of ranges for binning.

unlogExpr

Whether to "un-log" read counts for labels (default TRUE).

do.draw

Logical; whether to draw the heatmap (default TRUE). If FALSE, will return the Heatmap list object (assuming ComplexHeatmap is being used - otherwise the argument is ignored)

...

Any further argument passed to the plotting function.

Value

a heatmap.


plger/iPSCpoweR documentation built on Feb. 2, 2022, 1:37 a.m.