CellChat icon indicating copy to clipboard operation
CellChat copied to clipboard

Found more than one class "dist" in cache

Open AlbertoFabbri93 opened this issue 1 year ago • 0 comments

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).

AlbertoFabbri93 avatar Jan 10 '25 10:01 AlbertoFabbri93