build_tree_graph: Build tree graph

View source: R/graph.R

build_tree_graphR Documentation

Build tree graph

Description

Build a tree graph from a set of clusterings, metadata and associated aesthetics

Usage

build_tree_graph(
  clusterings,
  prefix,
  count_filter,
  prop_filter,
  metadata,
  node_aes_list
)

Arguments

clusterings

numeric matrix containing clustering information, each column contains clustering at a separate resolution

prefix

string indicating columns containing clustering information

count_filter

count threshold for filtering edges in the clustering graph

prop_filter

in proportion threshold for filtering edges in the clustering graph

metadata

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

node_aes_list

nested list containing node aesthetics

Value

tidygraph::tbl_graph object containing the tree graph


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