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

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