Note that there are some explanatory texts on larger screens.

plurals
  1. USTim P
    primarykey
    data
    text
    plurals
    1. COArtem - can I confirm ValidMerge gives you the vector you expect? It'd be helpful to see the data - could you use dput() to post up here the structure of the first 100 rows of RMDB, and the associated ValidMerge vector, or something like that? [command is `dput(RMDB[1:100,])` for first 100 rows ... obviously choose a section that has a bunch of merges!] Have a neat method in my head for quickly solving the algorithm :)
      singulars
    2. COThanks Artem, let me know how that goes - happy to give a hand with the final merging stage if you need it (though I think it's pretty easy: the merged outcome obviously has the same Name and Strand value as the rows that you're merging, and it inherits Start from row startpt and End from row endpt, if that makes sense). Qn: Can I just double check that the numbers going down the Start column are strictly increasing? And the same for the End column? And there's no conceivable way that the Start/End intervals could overlap (e.g. in your example, R2 could never start at 1490 rather than 1510)?
      singulars
    3. CO@Martin Morgan - nice reference. Though there's a certain balance between "give a man a fish" vs "teach a man to fish" here IMHO. Someone who can pick up the skills to construct a solution from scratch will find that suddenly everything with R is easier going forward, rather than always relying on bolt-ons (which in some cases might not exist). Just my two cents.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload