ModuleExprScore: ModuleExprScore

View source: R/ModuleEigengenes.R

ModuleExprScoreR Documentation

ModuleExprScore

Description

Computes a module score for each co-expression module using Seurat AddModuleScore or UCell.

Usage

ModuleExprScore(
  seurat_obj,
  n_genes = 25,
  method = "Seurat",
  wgcna_name = NULL,
  ...
)

Arguments

seurat_obj

A Seurat object

n_genes

the number of genes to use for each module, ranked by kME. Setting n_genes = 'all' uses all of the genes in a module

method

selected method for module scoring, valid choices are "Seurat" or "UCell"

wgcna_name

The name of the hdWGCNA experiment in the seurat_obj@misc slot

Details

ModuleExprScore provides an alternative function to ModuleEigengenes for summarizing the expression level of each module. The user can choose between Seurat AddModuleScore or UCell using the method parameter.

Value

seurat_obj with module scores computed for the selected wgcna experiment


smorabit/hdWGCNA documentation built on Oct. 23, 2024, 11:19 p.m.