get_nmat_ceiling | R Documentation |
Helper function to calculate signal ceiling of numeric matrix
get_nmat_ceiling(imat, iceiling = NULL, verbose = TRUE, ...)
This function is called by nmatlist2heatmaps()
and is not
intended to be called directly.
It takes a normalizedMatrix
or numeric
matrix object, and
a ceiling value iceiling
and determines an appropriate numeric
ceiling with the following rules:
if iceiling
is NULL
, it returns the highest absolute value in imat
if iceiling > 0
and iceiling <= 1
, it calculates
quantile(abs(imat), probs=iceiline)
, excluding values of zero
otherwise iceiling
is used as a fixed numerical ceiling
In all cases, iceiling
is rounded to 3 digits with round(iceiling, digits=3)
Also in all cases, na.rm=TRUE
is used, to prevent returning NA
.
Other jam coverage heatmap functions:
coverage_matrix2nmat()
,
nmathm_row_order()
,
nmatlist2heatmaps()
,
recenter_nmatlist()
,
restrand_nmatlist()
,
validate_heatmap_params()
,
zoom_nmatlist()
,
zoom_nmat()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.