Calculate specificity as Global False Discovery Rate (FDR).
Usage
getGlobalFDR(
seu_obj = NULL,
features = NULL,
tx_file = "path_to_txFile",
cellSegMeta = "path_to_cellMeta",
platform = NULL
)
Arguments
- seu_obj
A Seurat object containing spatial data, including a path and platform attribute.
- features
An optional vector of feature names (gene names) for which to calculate the FDR. If NULL (default), FDR is calculated for all features in the seu_obj.
- tx_file
Path to transcription file.
- platform
The platform from which the data originates. Valid options are 'Xenium', 'CosMx', and 'Merscope'.
- path
Path to generate tx file.