LRactivity | R Documentation |
calcuate the LR activity
LRactivity(expr, location, normalize = T, knn = 8, LRpair = LRpair)
expr |
gene expression matrix, the row is the gene and the column is the spot/cell |
location |
location matrix, the row number of location should match the column number of expr |
normalize |
whether to normalize the data (default: TRUE) |
knn |
the number of nearest neighbours to search (default: 8) |
LRpair |
the ligand-receptor pair for plot |
a data matrix with LR activity in each location, row is LR pair, column is location.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.