Faster code for combining granges in CallPeaks() #591
danielcgingerich
started this conversation in
Ideas
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The code shown here seems fine as a workaround if you're finding the method used in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have noticed that for large datasets, CallPeaks() in signac takes a long time when specifying a grouping variable and subsequently using
combine.peaks = TRUE. Running the source code, the culprit is the "for" loop that uses the revmap to match appropriate idents to the new gene ranges object. In my case, this takes a long time.I have written a workaround for this that is vectorized and faster than the for loop. What are your thoughts? This is my approach:
Beta Was this translation helpful? Give feedback.
All reactions