Giter VIP home page Giter VIP logo

Comments (6)

michalk8 avatar michalk8 commented on August 26, 2024

The notebook can be found here: https://github.com/theislab/moscot/blob/feature/lineageot-comparison/notebooks/MK_2021-09-17_lineageot.ipynb

from moscot.

michalk8 avatar michalk8 commented on August 26, 2024

Have checked also bifurcating, same story. Will convert this notebook to a more easy-to-run comparison and try FGW as well.

from moscot.

Marius1311 avatar Marius1311 commented on August 26, 2024

Hi Mike, thanks! I wouldn't expect GW to perform well here, the idea would really be to try and use FGW. There may be a few parameters to tune here, e.g.

  • weight alpha between GW (barcodes) and W (gene expression distance) terms
  • distance metric used for the W term, e.g. euclidean distance in PCA space, shortest path distance based on KNN graph (see NovoSpaRc), euclidian distance in scVI latent space
  • distance metric used for the GW term, e.g. hamming distance, modified hamming distance, check out whatever Cassiopeia uses. Note that Cassiopeia was developed for a different computational task, lineage tree building based on barcodes. However, for that task, you also need to define a barcode distance. Alternatively, rather than working with barcoding distances directly, we could use Cassiopeia to build a lineage tree first and use distances along tree edges for the GW term. This could potentially get rid of some noise in the barcodes, at the cost of working with processed data without uncertainty quantification.
  • regularization strength epsilon

So this looks like a grid search to me. However, we can automate this since we can quantify our performance.

from moscot.

Marius1311 avatar Marius1311 commented on August 26, 2024

Even better for tree fitting: http://www.microbesonline.org/fasttree/

from moscot.

Marius1311 avatar Marius1311 commented on August 26, 2024

Problems/notes

  • Scaling for LinegeOT: their implementation is really slow. We can start by keeping the setup as it is, don't need to re-run lineageOT. If that doens't work (low number of genes, meaningless distance), have to re-run.
  • Normalizing distance matrices so that GW and W terms are comparable

from moscot.

Marius1311 avatar Marius1311 commented on August 26, 2024

For now, I consider this done.

from moscot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.