-
Hello, I have been playing around a bit with snapatac2 and have so far found it to be a very good tool for scATACseq analysis. However, I am struggling to understand how peaks called at the cluster level are merged to generate a consensus peak set. Most notably, it seems that I have created a small reprex demonstrating this which can be found here. Can someone please shed some light on how |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
This function initially expands the summits of identified peaks by half_width on both sides. Following this expansion, it addresses the issue of overlapping peaks through an iterative process. The procedure begins by prioritizing the most significant peak, determined by the smallest p-value. This peak is retained, and any peak that overlaps with it is excluded. Subsequently, the same method is applied to the next most significant peak. This iteration continues until all peaks have been evaluated, resulting in a final list of non-overlapping peaks, each with a fixed width determined by the initial extension. |
Beta Was this translation helpful? Give feedback.
-
I still don't understand why there is merge step, as at the beginning, the genome has already been segmented into tile matrixes, which for my understanding has already achieved fixed-width of non-overlapping peaks? and downstream analysis such as feature selection is based on the tile matrix. Could someone explain this to me, thanks! tingting |
Beta Was this translation helpful? Give feedback.
This function initially expands the summits of identified peaks by half_width on both sides. Following this expansion, it addresses the issue of overlapping peaks through an iterative process. The procedure begins by prioritizing the most significant peak, determined by the smallest p-value. This peak is retained, and any peak that overlaps with it is excluded. Subsequently, the same method is applied to the next most significant peak. This iteration continues until all peaks have been evaluated, resulting in a final list of non-overlapping peaks, each with a fixed width determined by the initial extension.