TBD
Project description
Inferring cell-cell interactions from transcriptomes with cell2cell
Getting started
Please refer to the cell2cell website, which includes tutorials and documentation
Installation
First, install Anaconda following this tutorial
Once installed, create a new conda environment:
conda create -n cell2cell -y python=3.7 jupyter
Activate that environment:
conda activate cell2cell
Then, install cell2cell:
pip install cell2cell
Examples
- A toy example using the under-the-hood methods of cell2cell is available here. This case allows personalizing the analyses in a higher level, but it may result harder to use.
- A toy example using an Interaction Pipeline for bulk data is available here. An Interaction Pipeline makes cell2cell easier to use.
- A toy example using an Interaction Pipeline for single-cell data is available here. An Interaction Pipeline makes cell2cell easier to use.
- An example of using cell2cell to infer cell-cell interactions across the whole body of C. elegans is available here
- Jupyter notebooks for reproducing the results in the manuscript of Tensor-cell2cell are available and can be run online in codeocean.com. It specifically contains analyses on datasets of COVID-19, Autism Spectrum Disorders (ASD) and the embryonic development of C. elegans. These analyses evaluate changes in cell-cell communication dependent on:
- Detailed tutorials for running Tensor-cell2cell and downstream analyses:
- Do you have precomputed communication scores? Re-use them as a prebuilt tensor as exemplified here. This allows reusing previous tensors you built or even plugging in communication scores from other tools.
- Run Tensor-cell2cell MUCH FASTER and ON THE CLOUD! An example to perform the analysis on Google Colab while using a NVIDIA GPU is available here
Common issues
- When running Tensor-cell2cell (
InteractionTensor.compute_tensor_factorization()
orInteractionTensor.elbow_rank_selection()
), a common error is associated with Memory. This may happen when the tensor is big enough to make the computer run out of memory when the input of the functions in the parentheses isinit='svd'
. To avoid this issue, just replace it byinit='random'
.
Ligand-Receptor pairs
- A repository with previously published lists of ligand-receptor pairs is available here. You can use any of these lists as an input of cell2cell.
Citation
-
cell2cell should be cited using this research article:
- Armingol E., Ghaddar A., Joshi C.J., Baghdassarian H., Shamie I., Chan J., Her H.L., Berhanu S., Dar A., Rodriguez-Armstrong F., Yang O., O’Rourke E.J., Lewis N.E. Inferring a spatial code of cell-cell interactions across a whole animal body. PLOS Computational Biology 18(11): e1010715, (2022). DOI: 10.1371/journal.pcbi.1010715
-
Tensor-cell2cell should be cited using this research article:
- Armingol E., Baghdassarian H., Martino C., Perez-Lopez A., Aamodt C., Knight R., Lewis N.E. Context-aware deconvolution of cell-cell communication with Tensor-cell2cell Nat. Commun. 13, 3665 (2022). DOI: 10.1038/s41467-022-31369-2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
cell2cell-0.6.6-py3-none-any.whl
(170.6 kB
view hashes)
Close
Hashes for cell2cell-0.6.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0b64bb197aa2ca0bb20c660d5df90819f8f849e9319270c4afcbafae7561e6e |
|
MD5 | 65a8cbb52d175d7ded700b530cb72384 |
|
BLAKE2b-256 | 2d832d86c1f5d61e41268916b56bb3c92ca8e8152fa46fbf090d4ac848f047fc |