AverageSampleModuleZscore apply the function calc_avg_module_zscore to a pseudobulklist.
Source:R/sample_zscore.r
AverageSampleModuleZscore.Rd
AverageSampleModuleZscore apply the function calc_avg_module_zscore to a pseudobulklist.
Usage
AverageSampleModuleZscore(
average.metacell.list,
module.list,
use.module.subset = TRUE,
modules.subset.by.celltype = modules.test
)
Arguments
- average.metacell.list
poorly named argument - the object created by PseudobulkList either an average or summed pseudobulk data
- module.list
list of modules as named list each element is a vector of gene names
- use.module.subset
TRUE or FALSE - calc a different set of modules for each celltype use with modules.subset.by.celltype
- modules.subset.by.celltype
modules.subset.by.celltype is a list of modules to test with length = celltypes.vector and n modules = unique to subset