R/platjam-coverhm.R
zoom_nmatlist.Rd
Zoom the x-axis range for a list of normalizedMatrix coverage data
zoom_nmatlist(nmatlist, upstream_length = 500, downstream_length = 500, ...)
list
of normalizedMatrix
objects. Each
normalizedMatrix
is passed to zoom_nmat()
.
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()
.
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
Other jam coverage heatmap functions:
coverage_matrix2nmat()
,
get_nmat_ceiling()
,
nmathm_row_order()
,
nmatlist2heatmaps()
,
validate_heatmap_params()
,
zoom_nmat()