Skip to contents

This function adapts the AddModuleScore Seurat function to compute module scores based on a group of genes of interest.

Usage

compute_module_score(seu, features, name, seed = 1, ...)

Arguments

seu

Seurat object (required).

features

Vector of features (e.g. genes) to compute module score.

name

Name of module score to be stored in metadata slot.

seed

Set a random seed, for reproducibility.

...

Additional parameters passed to Seurat's AddModuleScore.

Value

A ggplot2 object.

Author

C.A.Kapourani C.A.Kapourani@ed.ac.uk