identifyOverExpressedInteractions: Identify over-expressed ligand-receptor interactions (pairs)...

View source: R/utilities.R

identifyOverExpressedInteractionsR Documentation

Identify over-expressed ligand-receptor interactions (pairs) within the used CellChatDB

Description

Identify over-expressed ligand-receptor interactions (pairs) within the used CellChatDB

Usage

identifyOverExpressedInteractions(
  object,
  features.name = "features",
  features = NULL,
  return.object = TRUE
)

Arguments

object

CellChat object

features.name

a char name used for assess the results in 'object@var.features[[features.name]]'

features

a vector of features to use. default use all over-expressed genes in 'object@var.features[[features.name]]'

return.object

whether returning a CellChat object. If FALSE, it will return a data frame containing the over-expressed ligand-receptor pairs

Value

A CellChat object or a data frame. If returning a CellChat object, a new element named 'LRsig' will be added into the list 'object@LR'


sqjin/CellChat documentation built on Nov. 10, 2023, 4:29 a.m.