https://github.com/cbg-ethz/treemhn

Joint inference of exclusivity patterns and recurrent trajectories from tumor mutation trees

https://github.com/cbg-ethz/treemhn

Science Score: 23.0%

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

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    5 of 6 committers (83.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Joint inference of exclusivity patterns and recurrent trajectories from tumor mutation trees

Basic Info
Statistics
  • Stars: 6
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created over 4 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

This R package implements the TreeMHN model for the joint inference of exclusivity patterns and recurrent trajectories from tumor mutation trees. (bioRxiv preprint)

Quick start

TreeMHN takes as input a set of independent tumor mutation trees containing a total number of n mutations. The format is a dataframe with five columns:

  • Patient_ID: IDs of patients, unique for each patient;

  • Tree_ID: IDs of mutation trees, unique within each patient;

  • Node_ID: IDs of each node in the tree, including the root node (with ID "1"), unique for each node;

  • Mutation_ID: IDs of each mutational event. The root node has a mutation ID of "0", and other mutation IDs can be duplicated in the tree to allow for parallel mutations;

  • Parent_ID: IDs of the parent node ID. The root node has itself as parent (ID "1").

The output is an n-by-n matrix representing the Mutual Hazard Network. The diagonal entries of this matrix indicate how often each mutation will occur and fixate independent of the other mutations. The off-diagonal entries encode the exclusivity and co-occurrence patterns of mutations. Conditioned on the estimated matrix, we can compute the probabilities of different evolutionary trajectories or evaluate the most likely next mutational events given a tumor tree.

Please see Demo.md for more details.

Installation

For Mac users, please compile the package with g++ instead of clang. To do this, you need to first install gcc using Homebrew:

brew install gcc

Then, create ~/.R/Makevars with entry

CXX=$(brew --prefix)/bin/g++-[INSTALLED VERSION]

For all users, install the devtools package in R and run

devtools::install_github("cbg-ethz/TreeMHN")

The installation typically takes around one minute to finish.

Owner

  • Name: Computational Biology Group (CBG)
  • Login: cbg-ethz
  • Kind: organization
  • Location: Basel, Switzerland

Beerenwinkel Lab at ETH Zurich

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 124
  • Total Committers: 6
  • Avg Commits per committer: 20.667
  • Development Distribution Score (DDS): 0.516
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Xiang Ge Luo l****x@b****h 60
xgluo 5****o 37
Xiang Ge Luo l****x@b****h 23
Xiang Ge Luo l****x@e****h 2
Xiang Ge Luo l****x@e****h 1
Xiang Ge Luo l****x@e****h 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 2 hours
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • xgluo (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

DESCRIPTION cran
  • DiagrammeR * imports
  • Matrix * imports
  • Rcpp * imports
  • dplyr * imports
  • ggm * imports
  • ggplot2 * imports
  • gridExtra * imports
  • gtools * imports
  • reshape2 * imports