addStepping | R Documentation |
Given a GRanges dataset representing genes, will add an arbitrary value for them to be plotted in the Y axis without overlapping each other.
addStepping(genesDat, coordinates, mcol.name)
genesDat |
GRanges object containing gene information. |
coordinates |
GRanges object with coordinates you want to plot. |
mcol.name |
Integer containing the column number that contains the gene name. |
Calculates the stepping position to avoid overlap between genes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.