BayraktarLab / cell2location

Comprehensive mapping of tissue cell architecture via integrated single cell and spatial transcriptomics (cell2location model)
https://cell2location.readthedocs.io/en/latest/
Apache License 2.0
321 stars 58 forks source link

Is it possible to run cell2location in local computers? #353

Closed hkeremcil closed 8 months ago

hkeremcil commented 8 months ago

Me and my colleagues were only able to successfully set up the environment and run the entire cell2location pipeline in Google Colab. The tutorial in the documentation is only for Google Colab as well. Is it currently possible to run it locally? If so, can I get some guidance on how to do that? Is there a separate tutorial for local usage?

Many thanks in advance!

vitkl commented 8 months ago

The installation instructions in the readme page on GitHub https://github.com/BayraktarLab/cell2location?tab=readme-ov-file#installation would allow you to install and use the package. Only the first cell in this tutorial https://cell2location.readthedocs.io/en/latest/notebooks/cell2location_tutorial.html is different between Colab and normal use.

hkeremcil commented 8 months ago

I haven't realized that the rest of the tutorial is the same for Colab and local use. This is very good to know, thank you.