chimeraviz-internals-scaleListToInterval: Scale a vector of numeric values to an interval.

Description Usage Arguments Value

Description

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

Usage

1
.scale_list_to_interval(the_list, new_min, new_max)

Arguments

the_list

A vector of numeric values.

new_min

Minimum value for the new interval.

new_max

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) .scale_list_to_interval(list012, 1, 3) # [1] 1 2 3


chimeraviz documentation built on Jan. 19, 2021, 2 a.m.