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
- 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
- A capsule containing jupyter notebooks for reproducing the results in the manuscript of Tensor-cell2cell is available in codeocean.com. It specifically contains analyses on datasets of COVID-19 and the embryonic development of C. elegans, such as the evaluation of changes in cell-cell communication dependent on different severities of COVID-19, and changes dependent on multiple time points of the C. elegans development
- A tutorial of running Tensor-cell2cell on a dataset of control and interferon-beta-treated PBMCs from 8 donors is available here
- 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! An example to perform the analysis using a Nvidia GPU is available here
- 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'
.
- 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.
-
cell2cell should be cited using this pre-print in bioRxiv:
- Armingol E., Joshi C.J., Baghdassarian H., Shamie I., Ghaddar A., Chan J., Her H.L., O’Rourke E.J., Lewis N.E. Inferring the spatial code of cell-cell interactions and communication across a whole animal body. bioRxiv, (2020). DOI: 10.1101/2020.11.22.392217
-
Tensor-cell2cell should be cited using this pre-print in bioRxiv:
- Armingol E., Baghdassarian H., Martino C., Perez-Lopez A., Knight R., Lewis N.E. Context-aware deconvolution of cell-cell communication with Tensor-cell2cell bioRxiv, (2021). DOI: 10.1101/2021.09.20.461129