Skip to content

aida-ugent/graphTDA

Repository files navigation

GraphTDA

Topological Data Analysis of graphs.

Main papers this repository is based on:

Info

To start:

  • Clone/download the repository.
  • Install the dependencies below.
  • Open 'graphTDA.Rproj' in Rstudio.
  • Build --> Clean and Rebuild.
  • Open a tutorial from Rstudio and you are good to go!

Or:

  • You can explore the results of the scripts immediately in github from the 'tutorials/R_Markdown' folder.

For deeper exploration, you can find all functions and their parameter definitions in the 'R' folder.

Tutorials

We provide the following tutorials to investigate the functionality of our code:

  • Persistence.R: The purpose of this tutorial is to introduce persistent homology. The code can also be easily adapted to explain the method through custom point cloud data, e.g., for in academic papers. Note that is a very brief introduction to how and what we can compute with persistent homology in R. It does not serve as a replacement of any formal introduction to persistent homology.

  • Basic_Backbone.R: The purpose of this tutorial is to show the basic functionality of the backbone function.

  • Disconnected_with_Cycles.R: The purpose of this tutorial is to show how to infer backbones in disconnected graphs, and how to identify 'gaps' in the backbone. We recommend to go through the 'Basic_Backbone' and 'Persistence' tutorials first.

  • Cell_Trajectory_Inference.R: The purpose of this tutorial is to show how to infer backbones in real-world cell trajectory data. We recommend to go through the 'Basic_Backbone' tutorial first.

  • Topological_Signatures.R: The purpose of this tutorial is to show how we can compute and compare topological signatures of graphs in R. This is mostly performed through the TDA library in R. However, we provide code to modify igraph objects to be compatible with this library.

Dependencies

Most of these can be installed directly through the following command in R: install.packages("<package_name>")

Package dependencies:

Tutorial dependencies:

Contact

Robin.Vandaele@UGent.be

About

Topological Data Analysis of graphs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages