chimeraviz-internals-scaleListToInterval {chimeraviz}R Documentation

Scale a vector of numeric values to an interval.

Description

This function takes a vector of numeric values as well as an interval [newMin, newMax] that the numeric values will be scaled (normalized) to.

Usage

.scaleListToInterval(theList, newMin, newMax)

Arguments

theList

A vector of numeric values.

newMin

Minimum value for the new interval.

newMax

Maximum value for the new interval.

Value

A data frame with fusion link data compatible with RCircos::RCircos.Link.Plot()

# @examples # Apparently examples shouldn't be set on private functions list012 <- c(0,1,2) .scaleListToInterval(list012, 1, 3) # [1] 1 2 3


[Package chimeraviz version 1.4.3 Index]