OverlapModulesDEGs: OverlapModulesDEGs

View source: R/Enrichment.R

OverlapModulesDEGsR Documentation

OverlapModulesDEGs

Description

Performs Fisher's Exact Test for overlap between DEGs and hdWGCNA modules.

Usage

OverlapModulesDEGs(
  seurat_obj,
  deg_df,
  fc_cutoff = 0.5,
  group_col = "cluster",
  wgcna_name = NULL,
  ...
)

Arguments

seurat_obj

A Seurat object

deg_df

DEG table formatted like the output from Seurat's FindMarkers

fc_cutoff

log fold change cutoff for DEGs to be included in the overlap test

group_col

the name of the column in deg_df containing the cell grouping information

wgcna_name

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


smorabit/scWGCNA documentation built on April 4, 2024, 10:32 a.m.