FindDMEs: FindDMEs

View source: R/DMEs.R

FindDMEsR Documentation

FindDMEs

Description

Function to compare expression levels of co-expression modules between two sets of cell barcodes.

Usage

FindDMEs(
  seurat_obj,
  barcodes1,
  barcodes2,
  features = "MEs",
  harmonized = TRUE,
  wgcna_name = NULL,
  add_missing = FALSE,
  test.use = "wilcox",
  only.pos = FALSE,
  logfc.threshold = 0,
  min.pct = 0,
  verbose = FALSE,
  pseudocount.use = 0,
  ...
)

Arguments

seurat_obj

A Seurat object

barcodes1

character vector containing cell barcodes for the first group to test. Positive fold-change means up-regulated in this group.

barcodes2

character vector containing cell barcodes for the second group to test. Negative fold-change means up-regulated in this group.

features

indicate whether to use "MEs" or "ModuleScores" for the comparison

harmonized

logical determining whether or not to use harmonized MEs

wgcna_name

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

add_missing

logical determining whether or not to add missing modules back into the resulting dataframe with NA values.

...

Additional parameters for the FindMarkers function

Value

A dataframe contaning differential ME results

Examples

FindDMEs

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