Giter Club home page Giter Club logo

Comments (5)

jokergoo avatar jokergoo commented on June 18, 2024 1

I finally have time to look at this comment. I quickly went through the method of this CAGT tool. For me, the algorithm basically contains two steps:

  1. PAM partitioning on the normalized matrix with a large initial number of groups k
  2. merging groups interatively with or without flip the matrix by the anchor targets.

For the first point, I think choosing optimized number of groups is a common problem for clustering and there is no perfect solution for this. And for the second point, I think it is worth to implement it in EnrichedHeatmap because it is true that only the relative distance to targets is important while whether it is on the upstream or downstream is of no importance.

from enrichedheatmap.

jokergoo avatar jokergoo commented on June 18, 2024 1

I've added a flip_upstream argument to normalizeToMatrix(). The process is basically:

  1. normalize to the matrix with distinguishing upstream and downstream
  2. flip the upstream part and add to the downstream

test

from enrichedheatmap.

jokergoo avatar jokergoo commented on June 18, 2024

Thanks Tommy! The closeness distance proposed in my paper is kind of a try to capture the patterns of the closeness of regions. It works, however I would say it is not an efficient way for doing it. I will read the paper you attached!

from enrichedheatmap.

crazyhottommy avatar crazyhottommy commented on June 18, 2024

the code in the paper was written in matlab, I only know R...I want an R version of something similar. look forward to reading your paper!

from enrichedheatmap.

crazyhottommy avatar crazyhottommy commented on June 18, 2024

Thanks will take a look and close it for now!

from enrichedheatmap.

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.