predictCellInteractions: Predict Cell Interactions

View source: R/CellComm_functions.R

predictCellInteractionsR Documentation

Predict Cell Interactions

Description

Plot graphs of the ligands and receptors, their distances and scores.

Usage

predictCellInteractions(
  object,
  assay.type = "RNA",
  sample.name = "Sample1",
  cluster.type = "Cluster",
  graph,
  distance.threshold = 0.75
)

Arguments

object

the CellRouter object.

assay.type

character; the type of data to use.

sample.name

character; the name of the tissue sample.

cluster.type

character; the column where the clusters are indicated. It could be either 'Cluster' or 'Subcluster'. Used to locate the distance matrix in the CellRouter object.

graph

igraph; the cell graph.

distance.threshold

numeric; the threshold for the distance.

Value

list of ggplot2 graphs.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.