build_tree_graph: Build tree graph

Description Usage Arguments Value

View source: R/graph.R

Description

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

Usage

1
2
3
4
5
6
7
8
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 July 1, 2020, 5:17 p.m.