K2dendro: Reformat K2Taxonomer results to dendrogram object

View source: R/K2dendro.R

K2dendroR Documentation

Reformat K2Taxonomer results to dendrogram object

Description

Reformats the output of K2tax() to an object of class, dendrogram, which can be easily plotted.

Usage

K2dendro(K2res)

Arguments

K2res

An object of class K2. The output of K2tax().

Value

An object of class dendrogram.

References

\insertRef

reed_2020K2Taxonomer

Examples

## Read in ExpressionSet object
library(Biobase)
data(sample.ExpressionSet)

## Pre-process and create K2 object
K2res <- K2preproc(sample.ExpressionSet)

## Run K2 Taxonomer algorithm
K2res <- K2tax(K2res,
            stabThresh=0.5)

## Create dendrogram object from K2 Taxonomer results
K2dendro(K2res)


montilab/K2Taxonomer documentation built on Jan. 25, 2024, 4:29 p.m.