Calculate the cell-feature distance matrix based on coembeddings.
pdistance(object, reduction = "fast", assay.name = "distce", eta = 1e-10)
a Seurat object.
a opstional string, dimensional reduction name, `fast` by default.
a opstional string, specify the new generated assay name, `distce` by default.
an optional postive real, a quantity to avoid numerical errors. 1e-10 by default.
This function calculate the distance matrix between cells/spots and features, and then put the distance matrix in a new generated assay. This distance matrix will be used in the siganture gene identification.