zoom_nmatlist: Zoom the x-axis range for a list of normalizedMatrix coverage...

zoom_nmatlistR Documentation

Zoom the x-axis range for a list of normalizedMatrix coverage data

Description

Zoom the x-axis range for a list of normalizedMatrix coverage data

Usage

zoom_nmatlist(nmatlist, upstream_length = 500, downstream_length = 500, ...)

Arguments

nmatlist

list of normalizedMatrix objects. Each normalizedMatrix is passed to zoom_nmat().

upstream_length, downstream_length

numeric vector whose values are recycled to length length(nmatlist). Each value is passed to zoom_nmat() so each matrix can be zoomed to independent ranges.

...

additional arguments are passed to zoom_nmat().

Details

This function filters the matrix columns by distance, and updates important associated attributes:

  • attr(nmat, "upstream_index") - the column index positions upstream the target region

  • attr(nmat, "downstream_index") - the column index positions downstream the target region

  • attr(nmat, "target_index") - the column index positions representing the target region

  • attr(nmat, "extend") - the genomic distance upstream and downstream the target region

See Also

Other jam coverage heatmap functions: coverage_matrix2nmat(), get_nmat_ceiling(), nmathm_row_order(), nmatlist2heatmaps(), recenter_nmatlist(), restrand_nmatlist(), validate_heatmap_params(), zoom_nmat()


jmw86069/platjam documentation built on Sept. 26, 2024, 3:31 p.m.