makeLabels | R Documentation |
makeLabels is called by plotGenome() and plotCoverage() functions. It creates a dataframe containing two columns: 'ticks' and 'labels'. 'Ticks' contains axis ticks coordinates, 'labels' will contain human readable lables for the ticks (using prefixes and optional units).
makeLabels(theMin, theMax, unit = "")
theMin |
Minimum value for the scale (double). |
theMax |
Maximum value for the scale (double). |
unit |
Unit to use for the labels (string, optional) |
labels <- makeLabels(0,1200000,"b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.