Comments (6)
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!
from phate.
@dburkhardt just to clarify, given the results of a community detection algorithm, how would one represent the data with PHATE?
from phate.
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.
@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.
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.
Thanks!
from phate.
Related Issues (20)
- python 3.10 HOT 1
- Update bioconda HOT 1
- Adding cell id (input rowname) in PHATE output (Y_phate in python tutorial :EmbryoidBody)
- PhateR - python problem
- PHATE gives "worse results" than UMAP HOT 5
- Install issue, probably sklearn -> scikit-learn versions HOT 4
- cell-cycle & mitochondrial regression HOT 2
- Recommended minimum number of cells to run PHATE?
- cell type annotations of EB
- API Documentation not shown HOT 1
- AttributeError: 'kNNGraph' object has no attribute '_kernel' HOT 1
- Application of PHATE to Visium 10x data
- destination is read-only
- Dependencies update HOT 13
- Cannot import phate: numpy version? HOT 1
- Can phate support a higher version of pandas? HOT 1
- AttributeError: 'TaskLogger' object has no attribute 'log_debug' HOT 2
- AttributeError: 'NoneType' object has no attribute 'split' HOT 1
- Error: TypeError: __init__() got an unexpected keyword argument 'k'
- Support more graphs for phate.fit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phate.