| gr.refactor | R Documentation | 
Takes a pile of ranges gr and new seqnames "sn" (either of length 1 or of length(gr)) and returns a gr object with the new seqnames and same widths and new start coordinates. These coordinates are determined by placing each gr on the corresponding chromosome at 1 + gap after previous gr (or at 1)
gr.refactor(gr, sn, gap = 0, rev = FALSE)
| gr | 
 | 
| sn | character vector of new seqnames | 
| gap | Default 0 | 
| rev | Default FALSE | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.