Giter VIP home page Giter VIP logo

Comments (6)

dburkhardt avatar dburkhardt commented on May 18, 2024

Hi Donald, just like PCA, tSNE, UMAP, and most other conditionality reduction algorithms, you can use PHATE on just about any kind of data. If you look at Supplementary Figure 3 and Supplementary Figure 10 of the manuscript (see below), you can see PHATE applied to a number of non-biological datasets.

Because you have users in a social network, I imagine your data is naturally represented as a graph. You should be able to pass the graph adjacency matrix using distance='precomputed'. Consult the docs for more information.

As for "community detection" this is a clustering task, not a dimensionality reduction task. For this, you will need to select a graph partitioning algorithm like spectral clustering or louvain.

Hope this helps!

41587_2019_336_Fig9_ESM

41587_2019_336_Fig16_ESM

from phate.

DonaldTsang avatar DonaldTsang commented on May 18, 2024

@dburkhardt just to clarify, given the results of a community detection algorithm, how would one represent the data with PHATE?

from phate.

dburkhardt avatar dburkhardt commented on May 18, 2024

I'm not sure this question makes sense. You could use the partition assignments from any clustering algorithm as a color vector when plotting, but there's no relationship between PHATE and clustering.

To color a PHATE embedding by cluster assignment, see the "Discrete color vector" examples here:

https://scprep.readthedocs.io/en/stable/examples/scatter.html

from phate.

DonaldTsang avatar DonaldTsang commented on May 18, 2024

@dburkhardt in this case, is there a pipeline for data => community detection or clustering => representation through PHATE or others. Other than that the link is useful.

from phate.

dburkhardt avatar dburkhardt commented on May 18, 2024

I would probably checkout our clustering notebooks from our single cell course or the scanpy clustering tutorial if you are looking for introductory clustering resources:

from phate.

DonaldTsang avatar DonaldTsang commented on May 18, 2024

Thanks!

from phate.

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.