Competitive fitness of Cancer clones
Kuresi is an R package for analyzing competitive fitness between cancer clones in single cell and spatial transcriptomics data. It computes and visualizes competition scores based on differential gene expression patterns, comparing "win" genes (associated with competitive fitness) against "lose" genes (associated with cell death). Outcomes can be represented as ELO ratings, cost matrices, or score matrices.
devtools::install_github("patrickCNMartin/Kuresi")Download Kuresi_0.0.1.tar.gz from the root of this repository, move it to your desired location, ensure you are in that directory within R, then:
install.packages("Kuresi_0.0.1.tar.gz", repo = NULL)This repository includes a Nix flake that provides a fully reproducible development environment with pinned R and package versions. This is the recommended way to contribute.
- Nix with flakes enabled
git clone https://github.com/patrickCNMartin/Kuresi.git
cd Kuresi
nix developThis drops you into a shell with R and all dependencies available at pinned versions. From there, use the standard R development workflow:
# Install dev dependencies and load the package
devtools::load_all()
# Run tests
devtools::test()
# Build documentation
devtools::document()If you haven't enabled Nix flakes yet, add the following to ~/.config/nix/nix.conf:
experimental-features = nix-flakes
GPL-3