Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

consensusTreeInputs

Get all elementary inputs in a consensus tree


Description

This function returns a flat vector or a structured list of elementary inputs to a given consensus tree, that is, inputs that are not consensus trees themselves.

Usage

consensusTreeInputs(consensusTree, flatten = TRUE)

Arguments

consensusTree

A consensus tree of class ConsensusTree.

flatten

Logical; if TRUE, the function returns a flat character vector of inputs; otherwise, a list whose structure reflects the structure of consensusTree.

Value

A character vector of inputs or a list of inputs whose structure reflects the structure of consensusTree.

Author(s)

Peter Langfelder

See Also

newConsensusTree for creating consensus trees.


WGCNA

Weighted Correlation Network Analysis

v1.70-3
GPL (>= 2)
Authors
Peter Langfelder <Peter.Langfelder@gmail.com> and Steve Horvath <SHorvath@mednet.ucla.edu> with contributions by Chaochao Cai, Jun Dong, Jeremy Miller, Lin Song, Andy Yip, and Bin Zhang
Initial release
2021-02-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.