Skip to content

How does SnapAtac2 snap.tl.merge_peaks work? #206

Answered by kaizhang
1010shane asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@1010shane
Comment options

@kaizhang
Comment options

Answer selected by 1010shane
Comment options

You must be logged in to vote
2 replies
@adamklie
Comment options

@TingTingShao
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants