Heatmap of PSI values (events x cells, DoHeatmap style)
Source:R/generics.R, R/visualization.R
PlotHeatmap.RdDraws a DoHeatmap-style tile plot with splice events on the y-axis and cells
on the x-axis. Events are clustered by PSI profile. When group_by is
supplied, cells are ordered by group and labelled with facet strips.
Usage
PlotHeatmap(
object,
events = NULL,
cells = NULL,
group_by = NULL,
max_cells = 500L,
max_events = 200L,
na_colour = "grey90",
title = NULL,
...
)
# S4 method for class 'MatisseObject'
PlotHeatmap(
object,
events = NULL,
cells = NULL,
group_by = NULL,
max_cells = 500L,
max_events = 200L,
na_colour = "grey90",
title = NULL,
...
)Arguments
- object
A
MatisseObjectwith a"psi"assay.- events
Character vector of event IDs to include. Default:
NULL(top-variance events up tomax_events).- cells
Character vector of cell barcodes to include. Default:
NULL(random sample up tomax_cells).- group_by
Character. Column in
Seurat::meta.dataused to order and label cells. Default:NULL.- max_cells
Integer. Downsample to this many cells before plotting. Default:
500.- max_events
Integer. Cap on events to plot. When the candidate set exceeds this, the top-variance events are selected automatically. Default:
200.- na_colour
Character. Colour for
NAentries. Default:"grey90".- title
Character. Plot title. Default:
"PSI Heatmap".- ...
Ignored; included for S4 generic compatibility.