calibrate_sizes {ontologyPlot} | R Documentation |
Function to scale values between two given limits
Description
Could be useful to modify a vector of sizes to between, say 1 and 3, before passing to 'onto_plot'.
Usage
calibrate_sizes(x, high, low)
Arguments
x |
Numeric vector |
high |
Numeric value of largest size |
low |
Numeric value of smallest size |
Value
Numeric vector
Examples
calibrate_sizes(c("HP:0000001"=10, "HP:0000006"=5), high=3, low=1)
[Package ontologyPlot version 1.7 Index]