getCellPairs {scDblFinder} | R Documentation |
Given a vector of cluster labels, returns pairs of cross-cluster cells
getCellPairs(x, n = 1000, ...)
x |
A vector of cluster labels for each cell, or a list containing metacells and graph |
n |
The number of cell pairs to obtain |
... |
Further arguments, for instance the 'k' vector of precluster labels if 'x' is a metacell graph. |
A data.frame with the columns
# create random labels x <- sample(head(LETTERS), 100, replace=TRUE) getCellPairs(x, n=6)