treeview

package
v1.0.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2021 License: BSD-3-Clause, MIT Imports: 8 Imported by: 0

Documentation

Overview

Package treeview exports a matrix and tree to java treeview format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(data Data)

Export a matrix to treeview format.

Types

type Data

type Data struct {
	ColumnLabeler func(int) string
	Filename      string
	Matrix        [][]float64
	Names         Names
	RowLabeler    func(int) string
	Trees         Trees
}

Data for treeview conversion.

type Names

type Names struct {
	Columns         []string
	Rows            []string
	UnsortedColumns []string
	UnsortedRows    []string
}

Names contains row and column names.

type Trees

type Trees struct {
	Column hclust.Dendrogram
	Row    hclust.Dendrogram
}

Trees contains row and column dendorgrams.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL