Learn R Programming

hpoPlot (version 2.2)

calibrate.sizes: Function to scale sizes of terms between two given limits

Description

Function to scale sizes of terms between two given limits

Usage

calibrate.sizes(x, high, low)

Arguments

x
Numeric vector of term relative sizes named by term
high
Numeric vector of largest size
low
Numeric vector of smallest size

Value

  • Numeric vector

Examples

Run this code
calibrate.sizes(c("HP:0000001"=10, "HP:0000006"=5), high=3, low=1)

Run the code above in your browser using DataLab