Extract heatmap-like CTSS data for regions of fixed width with optional sparse matrix output.
Source:R/heatmap.R
heatmapData.RdExtract heatmap-like CTSS data for regions of fixed width with optional sparse matrix output.
Arguments
- regions
GRangeswith regions to extract data for (must be of the same size).- data
GRangeswith value to consider in specified column (score).- column
column in
mcols(data)to consider.- transform_fn
function applied on data for each region (e.g. to reduce dimension, defaults to identity).
- sparse
Logical indicating whether the output should be in sparse matrix format. Default is FALSE.
- ...
additional arguments to pass to
transform_fn.