prabhakarlab / Banksy

BANKSY: spatial clustering
https://prabhakarlab.github.io/Banksy
Other
73 stars 12 forks source link

After loading the Banksy package, an error occurs when trying to create an object using BanksyObject. #24

Closed yuanjiao123 closed 7 months ago

yuanjiao123 commented 7 months ago

屏幕截图 2024-04-01 205510

------ start clustering block ---------

bank <- BanksyObject(own.expr = expr.list, cell.locs = locs.list) Error in BanksyObject(own.expr = expr.list, cell.locs = locs.list) : could not find function "BanksyObject"

jleechung commented 7 months ago

Hi @yuanjiao123, which version of BANKSY are you using? You can check with packageVersion('Banksy').

If you want to use the BanksyObject class, you'll have to install the 0.1.z version. You can do so with:

remotes::install_github('prabhakarlab/Banksy@main')

The latest version of BANKSY uses SingleCellExperiment or SpatialExperiment objects instead of BanksyObject for compatibility with Bioconductor workflows. You can install this with:

remotes::install_github('prabhakarlab/Banksy')

with accompanying vignettes here.

yuanjiao123 commented 7 months ago

Thank you very much, the issue has been resolved.@jleechung