assessScale: Determine how much of a datamatrix lies within a specific...

View source: R/base_package_functions.R View source: R/Package-Code5-Compiled.R

assessScaleR Documentation

Determine how much of a datamatrix lies within a specific scale range

Description

Function to assess how much of the data matrix supplied lies within the range specifies in scale.range stored in the parameters list object, specifically for heatmaps

Usage

assessScale(data)

Arguments

data

numeric data matrix with samples/observations in the columns and genes/variables in the rows

Details

Based off of the scale range stored in params, will calculate what proportion of the non-missing values in the data.matrix lie below, within, and above the scale.range. Helpful for determining the appropriate range of data for a heatmap

Value

Printed output indicating percentage of data below, within, and above the set scale range

Author(s)

~~Alison Moss~~

See Also

See Also as set_scale.range for how to adjust the scale of the heatmaps

Examples


##initiate parameters
initiate_params()

assessScale(RAGP_norm)



axm323/dataVisEasy documentation built on Feb. 1, 2024, 11:53 p.m.