assert_node_aes: Assert node aesthetics

View source: R/checks.R

assert_node_aesR Documentation

Assert node aesthetics

Description

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

Usage

assert_node_aes(node_aes_name, prefix, metadata, node_aes, node_aes_aggr)

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


clustree documentation built on Nov. 6, 2023, 1:07 a.m.