P2G heatmap groupBy cluster #1312
Replies: 2 comments 3 replies
-
It means that all of the k nearest neighbors vote and whichever cluster is represented by the most knns is used for the label of that group
Line 1384 in 968e442
Peak to gene linkages are called based on variance across cells. You need variance to identify linkages. I'm not sure what you mean by "per cluster" but if you are saying what I think you are saying, then this might not work. Also, referencing the methods of the publication is often a good idea:
|
Beta Was this translation helpful? Give feedback.
-
After obtaining peak-to-gene linkages is it possible in ArchR to take your linked peaks and genes and produce a heatmap of your peak accessibility and gene expression but averaged for each cluster? For example like Fig. 3A in this paper: https://www.nature.com/articles/s41593-021-01002-4#Fig3 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @rcorces,
I am trying to understand Peak2Gene heatmaps. I see that I can use groupBy to group by clusters, for example. The explanation for this is:
"groupBy | The name of the column in cellColData to use for labeling KNN groupings. The maximum group appeared in the KNN groupings is used."
If groupBy= Clusters- how are KNNs of p2g linkages grouped by clusters? What does it mean that "The maximum group appeared in the KNN groupings is used." Also, I am unable to find the source code for plotPeak2GeneHeatmap - could you kindly point me in the direction?
My goal is to get P2G linkages per cluster per condition. Does it make sense to use output of plotPeak2GeneHeatmap per cluster (from returnMatrices=T) for per-cluster-condition peak-to-gene linkages? What is the best way to obtain this information from ArchR? Thanks
Thanks very much
Beta Was this translation helpful? Give feedback.
All reactions