Calculate the distribution of maximal values.
Usage
getMaxDetection(
seu_obj = NULL,
features = NULL,
expMat = "path_to_expMat",
platform = NULL
)
Arguments
- seu_obj
A Seurat object.
- features
An optional vector of gene identifiers for which to analyze the distribution of maximal expression values. If NULL, the calculation encompasses all genes in the dataset.
- expMat
Path to exprMatrix file.
- platform
The platform from which the data originates. Valid options are 'Xenium', 'CosMx', and 'Merscope'.
Value
A data frame summarizing the maximal expression values across the specified features or the entire dataset, which can be used to analyze the upper limits of detection and expression within the sample.
A data frame.
Details
This function identifies the maximal expression values across the specified set of features (or all features if none are specified) within the dataset, illustrating the upper bounds of gene expression. Such information is crucial for assessing the dataset's dynamic range and the sensitivity of detection methods used in the experiment. The function aggregates these maximal values and presents them in a data frame, facilitating further analysis of the expression distribution and detection efficiency across different genes.