create.array.from.feature.vals: Creates an array of dimensions...

create.array.from.feature.valsR Documentation

Creates an array of dimensions number_of_spots*3*number_of_features

Description

For each feature, a matrix is stored with nSpots number of rows and with the HSV color channels as columns. If dark.theme is set to TRUE, the V channel will be reserved for feature values and the S channel will be set to 1, otherwise the S channel will be resevred for feature values and the V channel will be set to 1.

Usage

create.array.from.feature.vals(
  data,
  features,
  hue_breaks,
  cols,
  dark.theme,
  verbose
)

Arguments

data

data.frame with feature values

features

feature names

hue_breaks

Hue values (same length as features)

cols

Custom colors

dark.theme

Used to select what channel the feature values should be encoded in

verbose

Print messages


jbergenstrahle/STUtility documentation built on March 14, 2023, 7:15 a.m.