View source: R/DataParsingFunctions.R
computeCellSim | R Documentation |
computeCellSim
computes a cell-to-cell similarity matrix using the given method.
Currently only Jaccard similarity is implemented.
computeCellSim(ATACMat, method = sparseJaccard)
ATACMat |
either a cell-by-peak matrix, a SnapATAC object, an ArchR project, or a Cicero count table |
method |
function, the method used to compute cell similarity, should operate on rows of a matrix. The default is Jaccard similiarty, but a second built in option is PCAdist which computes the euclidean distance in PCA space |
matrix of cell-to-cell similarity
data("SampleCellWalkRData")
computeCellSim(SampleCellWalkRData$ATACMat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.