View source: R/CellComm_functions.R
predictCellInteractions | R Documentation |
Plot graphs of the ligands and receptors, their distances and scores.
predictCellInteractions( object, assay.type = "RNA", sample.name = "Sample1", cluster.type = "Cluster", graph, distance.threshold = 0.75 )
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. |
list of ggplot2 graphs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.