Skip to main content

Integrating transcriptional data to decipher the tumor microenvironment with the graph frequency domain model

Project description

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

Run demo

Please visit Examples section at https://kristaxying.github.io/CytoBulk/.

Maintainer

WANG Xueying xywang85-c@my.cityu.edu.hk

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cytobulk-0.1.20.tar.gz (59.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

CytoBulk-0.1.20-py3-none-any.whl (65.7 kB view details)

Uploaded Python 3

File details

Details for the file cytobulk-0.1.20.tar.gz.

File metadata

  • Download URL: cytobulk-0.1.20.tar.gz
  • Upload date:
  • Size: 59.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for cytobulk-0.1.20.tar.gz
Algorithm Hash digest
SHA256 7159787bff62a24dc8efab308087a9d92793a7e968409ea5c8b5dc00f3af97c6
MD5 8add7e76670d89538f46e410be69e98b
BLAKE2b-256 9a3605f83aaa3feba8a9be7a9dd977611954a3c771a1a899fd734a6e3793ac35

See more details on using hashes here.

File details

Details for the file CytoBulk-0.1.20-py3-none-any.whl.

File metadata

  • Download URL: CytoBulk-0.1.20-py3-none-any.whl
  • Upload date:
  • Size: 65.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for CytoBulk-0.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 3dcd7c20cbc68bba3a0b44db44f2a41d7c1e43f54629ee81deefd79b9a8f19ba
MD5 63a195a09698ced2e34aa42297ddb84f
BLAKE2b-256 21e4f8accc8b59a3a811493b9da7ab5c2826e9f58feaa2a88b5d9de26f410210

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page