R/platjam-neuro.R
frequency_matrix2nmat.Rd
Convert frequency matrix to normalizedMatrix format
frequency_matrix2nmat(
mat,
target_frequency = NULL,
target_name = "target",
signal_name = "Frequency",
do_scale = TRUE,
scale_from = 0,
scale_to = 1,
scale_frequency = NULL,
apply_floor = TRUE,
verbose = FALSE,
...
)
numeric matrix with frequency represented as
columns, and whose numeric frequency is stored in
colnames(mat)
as character values.
numeric vector representing a
range of frequencies to be considered the "target",
and thus highlighted by EnrichedHeatmap::EnrichedHeatmap()
.
By default the target range is used to order rows from
high to low signal, unless the order is specified
otherwise. When target_frequency
is NULL
, there
is no target indicated in the normalizedMatrix.
additional arguments are ignored.
normalizedMatrix
object, a subclass of matrix
,
as defined in EnrichedHeatmap
.
This function takes input data with frequency represented as columns, and observations as rows. It will optionally scale each row to have fixed minimum-to-maximum value range, given a range of frequencies to use for scaling.
Other jam import functions:
coverage_matrix2nmat()
,
deepTools_matrix2nmat()
,
import_lipotype_csv()
,
import_metabolomics_niehs()
,
import_nanostring_csv()
,
import_nanostring_rcc()
,
import_nanostring_rlf()
,
import_proteomics_PD()
,
import_proteomics_mascot()
,
import_salmon_quant()
,
process_metab_compounds_file()