jellyfisher

R htmlwidget for Jellyfish

https://github.com/hautaniemilab/jellyfisher

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.7%) to scientific vocabulary

Keywords

bioinformatics phylogenetic-analysis r tumor-evolution tumor-heterogeneity visualization-tool
Last synced: 6 months ago · JSON representation ·

Repository

R htmlwidget for Jellyfish

Basic Info
Statistics
  • Stars: 6
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 4
Topics
bioinformatics phylogenetic-analysis r tumor-evolution tumor-heterogeneity visualization-tool
Created over 1 year ago · Last pushed 12 months ago
Metadata Files
Readme Changelog License Citation

README.md

Jellyfisher hexagon Jellyfisher

R-CMD-check CRAN status

Jellyfisher is an R package for visualizing tumor evolution and subclonal compositions using Jellyfish plots, which display both spatial and temporal dimensions in a single unified figure.

The package is based on the Jellyfish visualization tool, bringing its functionality to R users. Jellyfisher supports both ClonEvol results and plain data frames, making it compatible with various tools and workflows.

Jellyfisher Example Plot

Installation

Install from CRAN

R install.packages("jellyfisher")

Or alternatively, install the latest development version from GitHub

R devtools::install_github("HautaniemiLab/jellyfisher", build_vignettes = TRUE)

Usage

Jellyfisher is designed to work with data frames or ClonEvol results.

Plotting Data Frames

The input data should follow specific structures for samples, phylogeny, and subclonal compositions, which are described in the jellyfisher function's documentation.

Example

```R library(jellyfisher)

Plot the bundled example data

jellyfisher(jellyfisherexampletables) ```

Plotting ClonEvol Results

Jellyfisher provides a straightforward way to visualize ClonEvol results using the extract_tables_from_clonevol function. See the reference page for details.

Example

```R library(clonevol) library(jellyfisher)

Run ClonEvol. Check the ClonEvol documentation for details.

y <- infer.clonal.models(...) y <- convert.consensus.tree.clone.to.branch(y)

Plot the results

extracttablesfrom_clonevol(y, model = 1) |> jellyfisher() ```

Setting Parent-Child Relationships of Samples

By default, all samples that have no explicit parent are children of the inferred root sample. You can customize the parent-child relationships by modifying the parent column in the samples data frame before plotting.

You can also modify the relationships with ease using the set_parents function.

For example, if you have three samples, A, B, and C, they will have the following relationships by default:

Root / | \ A B C

With the explicit parents, you can customize the relationships:

R tables |> set_parents(list( # The parent of C is B "C" = "B" ) |> jellyfisher()

Root / \ A B \ C

Contributing

Jellyfisher is a thin wrapper for the Jellyfish visualization tool. Jellyfish is included as a git submodule in the tools/ directory.

To build the Jellyfish JavaScript dependency, run the update-and-build.sh script in the tools/ directory. Most of the R code is autogenerated from the Jellyfish JavaScript code using the generate-R-code.mjs script, which should be run after building the Jellyfish dependency.

Citation

If you use Jellyfisher in your research, please cite the following paper:

Kari Lavikka, Altti Ilari Maarala, Jaana Oikkonen, Sampsa Hautaniemi, Jellyfish: integrative visualization of spatio-temporal tumor evolution and clonal dynamics, Bioinformatics, 2025;, btaf091, https://doi.org/10.1093/bioinformatics/btaf091

About

Copyright (c) 2025 Kari Lavikka. MIT license, see LICENSE.md for details.

Jellyfisher is developed in The Systems Biology of Drug Resistance in Cancer group at the University of Helsinki.

This project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreements No. 965193 (DECIDER) and No. 847912 (RESCUER).

Owner

  • Name: Hautaniemi Lab
  • Login: HautaniemiLab
  • Kind: organization
  • Location: Finland

The Systems Biology of Drug Resistance in Cancer group, University of Helsinki

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: "Lavikka"
    given-names: "Kari"
    orcid: "https://orcid.org/0000-0002-4163-4945"
title: "Jellyfisher"
url: "https://github.com/HautaniemiLab/jellyfisher"
preferred-citation:
  type: article
  authors:
    - family-names: "Lavikka"
      given-names: "Kari"
      orcid: "https://orcid.org/0000-0002-4163-4945"
    - family-names: "Maarala"
      given-names: "Altti Ilari"
      orcid: "https://orcid.org/0000-0001-8851-4265"
    - family-names: "Oikkonen"
      given-names: "Jaana"
      orcid: "https://orcid.org/0000-0002-1063-2736"
    - family-names: "Hautaniemi"
      given-names: "Sampsa"
      orcid: "https://orcid.org/0000-0002-7749-2694"
  doi: "10.1093/bioinformatics/btaf091"
  journal: "Bioinformatics"
  title: "Jellyfish: integrative visualization of spatio-temporal tumor evolution and clonal dynamics"
  year: 2025

GitHub Events

Total
  • Create event: 4
  • Release event: 3
  • Issues event: 6
  • Watch event: 3
  • Issue comment event: 3
  • Push event: 51
Last Year
  • Create event: 4
  • Release event: 3
  • Issues event: 6
  • Watch event: 3
  • Issue comment event: 3
  • Push event: 51

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 3
  • Total pull requests: 0
  • Average time to close issues: 16 days
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.33
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 0
  • Average time to close issues: 16 days
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.33
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • tuner (3)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 151 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: jellyfisher

Visualize Spatiotemporal Tumor Evolution with Jellyfish Plots

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 151 Last month
Rankings
Dependent packages count: 27.2%
Dependent repos count: 33.5%
Average: 49.2%
Downloads: 86.8%
Maintainers (1)
Last synced: 6 months ago