exvar.celltocell.interactions | R Documentation |
This explanatory variable can be used with CSIDE to detect cell-to-cell interactions. Density is computing using an exponentially-decaying filter. Currently only works for doublet mode RCTD.
exvar.celltocell.interactions(myRCTD, barcodes, cell_type, radius = 50)
myRCTD |
an |
barcodes |
the barcodes, or pixel names, of the |
cell_type |
the cell type (character) for which to compute density. |
radius |
(default 50) the radius of the exponential filter. Approximately, the distance considered to be a relevant interaction. |
explanatory.variable a named numeric vector representing the explanatory variable used for explaining differential expression in CSIDE. Names of the variable
are the SpatialRNA
pixel names, and values are standardized between 0 and 1. This variable represents density of the selected cell type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.