diffPath: To find different enriched pathway between two group cells

View source: R/CommPath-main.R

diffPathR Documentation

To find different enriched pathway between two group cells

Description

To find different enriched pathway between two group cells

Usage

diffPath(
  object,
  select.ident.1,
  select.ident.2 = NULL,
  method = "t.test",
  only.posi = FALSE,
  only.sig = FALSE
)

Arguments

object

CommPath object

select.ident.1

Identity class to define cells for group 1

select.ident.2

Identity class to define cells for group 2 for comparison; if 'NULL', use all other cells for comparison

method

Method used for differential enrichment analysis, either 't.test' of 'wilcox.test'

only.posi

only save the information of pathways showing up regulation

only.sig

only save the information of pathways showing significant differences

Value

Data frame including the statistic result comparing the pathway enrichment sorces between group 1 and group 2, the significant recetor and ligand of group 1 in the pathways, and the corresponding up stream identity class which interact with group 1 by releasing specific ligand


yingyonghui/CommPath documentation built on June 15, 2025, 6:29 a.m.