DataPreProcess
DataPreProcess.RdPreprocess expression data for pathway analysis.
Usage
DataPreProcess(
x,
pathwaydata,
Seurat.object = FALSE,
assay = "RNA",
slot = "data",
scale.data = TRUE
)Arguments
- x
A Seurat object OR a gene-by-cell normalized expression matrix
- pathwaydata
Pathway data from the output of LoadPathway()
- Seurat.object
Logical; whether x is a Seurat object
- assay
Assay to use if x is a Seurat object (default = "RNA")
- slot
Slot to extract from Seurat object (default = "data")
- scale.data
Logical; whether to apply row-wise z-score scaling (default = TRUE). If FALSE, the filtered expression matrix is returned as-is without any scaling.