califano-lab / PISCES

R package for Protein activity analysis of single-cell RNAseq.
75 stars 24 forks source link

CorDist function issue #21

Open vleifer685 opened 1 year ago

vleifer685 commented 1 year ago

Hi, I have two questions about the CorDist/cor_dist function:

1) PISCES and Seurat compatibility: I'm trying to use PISCES v0.0.0.9000 with a Seurat (v4.3.0) object on a Mac with an M1 chip, but am getting the error "could not find function "CorDist"", per the vignette. I saw on prior threads that the newer version of PISCES is not compatible with Seurat as indicated by the new all lower case functions, but was wondering which version of Seurat and which older version of PISCES are compatible with one another and where to find older PISCES downloads so that I can apply PISCES to Seurat objects.

Also mentioning that I have an M1 chip since some packages don't compile on the M1 - doesn't seem to be the case with the newest version of PISCES, but mentioning in case anyone has run into this issue.

2) New PISCES cor_dist function - what is the proper input here? I've tried to use the counts matrix per the Read10X function, and also tried to extract the raw matrix from Seurat objects, but neither approach works and gives the same error: Error in cor(dat.mat, method = "spearman") : supply both 'x' and 'y' or a matrix-like 'x'

Thank you!