down_shift | R Documentation |
This function takes a GRanges object and moves each IRanges object within next to each other starting at 1. This effectively removes the introns from the GRanges object.
down_shift(transcript)
transcript |
The GRanges object to remove introns from. |
A GRanges object with introns removed.
# Create a simple GRanges object: gr <- IRanges::IRanges( start = c(13, 40, 100), end = c(20, 53, 110)) # Downshift it and see the introns are removed: down_shift(gr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.