the union between two GRanges associated to scores is performed, and the most significant score for the overlapping regions is returned
To be used in this form:
unionMaxScore(gr1, gr2, score1=mcols(gr1)[,1], score2=mcols(gr2)[,1])
where:
gr1: GRanges
gr2: GRanges
score1: numeric; the scores (or any kind of score) associated to gr1
score2: numeric; the scores (or any kind of score) associated to gr2
The method returns the union GRanges as in union(gr1, g2). For each range, if it resulted from overlapping ranges, the maximum score for those ranges is returned. In case pvalues (P) are adopted, they should be transformed in a score with something like -log10(P)
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.