CalculateModuleScoreAvg: CalculateModuleScoreAvg

CalculateModuleScoreAvgR Documentation

CalculateModuleScoreAvg

Description

This function calculates the module scores for each cell in a Seurat object based on the average expression of a given gene list.

Usage

CalculateModuleScoreAvg(
  SerObj,
  genes.list = NULL,
  genes.pool = NULL,
  n.bin = 25,
  ctrl.size = 100,
  assay = NULL,
  seed.use = 1
)

Arguments

SerObj

A Seurat object.

genes.list

A character vector specifying the genes to calculate the module scores.

genes.pool

A character vector specifying the genes to use for calculating the average expression.

n.bin

An integer specifying the number of bins for partitioning the average expression values.

ctrl.size

An integer specifying the size of the control group for calculating module scores.

assay

The assay name to retrieve the data from. If NULL, the default assay of the Seurat object is used.

seed.use

An integer specifying the seed value for random number generation.


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.