Overview
CytoBulk aims to Integrate transcriptional and image data to depict the tumor microenvironment accurately with the graph frequency domain model
Documentation
To install and use CytoBulk, please visit https://kristaxying.github.io/CytoBulk/
System requirements
We have tested the package on the following systems:
- Linux: Ubuntu 20 (GPU 3080)
- Windows: Windows 11 Enterprise (CPU)
Installation Guide
Follow the steps below to install and set up CytoBulk.
Setting Up the Environment for Python and R
The CytoBulk package is developed based on the pytorch framework and can be implemented on both GPU and CPU. We recommend running the package on GPU. Please ensure that pytorch and CUDNN are installed correctly.
Option 1: Set Python and R Together
conda config --append channels conda-forge
conda create --name cytobulk python=3.10 r-base=4.4
conda activate cytobulk
pip install cytobulk
This approach is suitable for users who want all dependencies managed within the same Conda environment. However, it might not work reliably on Windows due to potential issues with R configuration in Conda.
Option 2: Set Only Python and Specify R Path Separately
conda create --name cytobulk python=3.10
conda activate cytobulk
pip install cytobulk
Then, before running the main program, you need to specify the path to your locally installed R. This can be done using Python by setting the R_HOME environment variable. Add the following lines at the beginning of your Python script:
import os
# Set the R installation path (adjust the path based on your R installation)
os.environ['R_HOME'] = r_path
Install required R packages
To run CytoBulk, make sure all the following prerequisites are installed.
R 4.4.0 or higher and the following packages
- Giotto (1.1.2) https://giottosuite.readthedocs.io/en/master/gettingstarted.html
- scran (1.32.0) https://bioconductor.org/packages/release/bioc/html/scran.html
- sva (3.52.0) https://www.bioconductor.org/packages/release/bioc/html/sva.html
Run demo
Please visit Examples section at https://kristaxying.github.io/CytoBulk/.
Maintainer
WANG Xueying xywang85-c@my.cityu.edu.hk
Metadata
Release files for CytoBulk 0.1.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cytobulk-0.1.20.tar.gz | 59.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| CytoBulk-0.1.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 125.2 kB
Release files / cytobulk-0.1.20.tar.gz
| Download URL | cytobulk-0.1.20.tar.gz |
|---|---|
| Size | 59.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7159787bff62a24dc8efab308087a9d92793a7e968409ea5c8b5dc00f3af97c6
|
|
BLAKE2b-256 checksum How to use checksums |
9a3605f83aaa3feba8a9be7a9dd977611954a3c771a1a899fd734a6e3793ac35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|
Release files / CytoBulk-0.1.20-py3-none-any.whl
| Download URL | CytoBulk-0.1.20-py3-none-any.whl |
|---|---|
| Size | 65.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dcd7c20cbc68bba3a0b44db44f2a41d7c1e43f54629ee81deefd79b9a8f19ba
|
|
BLAKE2b-256 checksum How to use checksums |
21e4f8accc8b59a3a811493b9da7ab5c2826e9f58feaa2a88b5d9de26f410210
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|