assert_numeric_node_aes: Assert numeric node aesthetics

Description Usage Arguments

View source: R/checks.R

Description

Raise error if an incorrect set of numeric node parameters has been supplied.

Usage

1
2
3
4
5
6
7
8
9
assert_numeric_node_aes(
  node_aes_name,
  prefix,
  metadata,
  node_aes,
  node_aes_aggr,
  min,
  max
)

Arguments

node_aes_name

name of the node aesthetic to check

prefix

string indicating columns containing clustering information

metadata

data.frame containing metadata on each sample that can be used as node aesthetics

node_aes

value of the node aesthetic to check

node_aes_aggr

aggregation function associated with the node aesthetic

min

minimum numeric value allowed

max

maximum numeric value allowed


clustree documentation built on July 1, 2020, 5:17 p.m.