compute_module_score: Tailored module score calculation

View source: R/utils.R

compute_module_scoreR Documentation

Tailored module score calculation

Description

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(s)

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


andreaskapou/SeuratPipe documentation built on Nov. 22, 2022, 4:16 p.m.