
Pools SpaMTP Seurat object into random pools for pseudo-bulking.
Source:R/DifferentialMZPeaks.R
run_pooling.Rd
Runs pooling of a SpaMTP dataset to generate pseudo-replicates for each unique identity provided.
This function is used by FindAllDEMs()
.
Arguments
- data.filt
A Seurat Object containing count values for pooling.
- idents
A character string defining the idents column to pool the data against.
- n
An integer defining the amount of pseudo-replicates to generate for each sample (default = 3).
- assay
Character string defining the assay where the mz count data and annotations are stored (default = "Spatial").
- slot
Character string defining the assay storage slot to pull the relative mz intensity values from (default = "counts").
- verbose
Boolean indicating whether to show the message. If TRUE the message will be show, else the message will be suppressed (default = TRUE).