CellChat
CellChat copied to clipboard
Found more than one class "dist" in cache
Hi, when running the following code:
conversion.factor = 0.18
d = computeCellDistance(
coordinates = spatial.locs,
# to convert the distance from pixels to micrometers
ratio = conversion.factor)
median_cell_distance = median(d)
I get the following warning:
Found more than one class "dist" in cache; using the first, from namespace 'spam'
Also defined by ‘BiocGenerics’
The R uwot package had basically the same issue, they also found a solution (You find it in the linked issue, the discussion is rather short).