plotLR | R Documentation |
plot one specific ligand-receptor pair to find the colocalized region
plotLR(
expr,
location,
normalize = T,
topn = floor(0.2 * dim(location)[1]),
knn = 8,
LRpair = c("Ptn", "Ptprz1"),
pt.size = 2,
alpha.min = 0.1,
max.cut = 0.95
)
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) |
topn |
the number of spots/cells considered high expression (default: 20 percent of the total spots/cells) |
knn |
the number of nearest neighbours to search (default: 8) |
LRpair |
the ligand-receptor pair for plot |
pt.size |
the point size (default:2) |
alpha.min |
the alpha for the minimum value (default:0.1) |
max.cut |
the maximum cutoff for the LR activity |
a data frame containing the result of each ligand-receptor pair
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.