hierarchical

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: 22 Imported by: 0

Documentation

Overview

Package hierarchical clusters data for dot plots.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cluster

func Cluster(analysis *types.Analysis)

Cluster data.

func CreateCytoscape

func CreateCytoscape(fileData []map[string]string, data *SortedData, settings types.Settings)

CreateCytoscape files.

func CreateDotplot

func CreateDotplot(data *SortedData, clusteredData HclustData, settings types.Settings)

CreateDotplot image.

func CreateHeatmap

func CreateHeatmap(data *SortedData, clusteredData HclustData, settings types.Settings)

CreateHeatmap image.

func CreatePNGs

func CreatePNGs(data *SortedData, clusteredData HclustData, settings types.Settings)

CreatePNGs as output format.

func WriteDistance

func WriteDistance(data *SortedData, clusteredData HclustData, settings types.Settings)

WriteDistance images.

func WriteMatrices

func WriteMatrices(data *SortedData)

WriteMatrices for transformed data.

func WriteTrees

func WriteTrees(clusteredData HclustData, settings types.Settings)

WriteTrees for newick format.

Types

type HclustData

type HclustData struct {
	Dendrogram         map[string][]hclust.SubCluster
	Distance           map[string][][]float64
	NormalizedDistance map[string][][]float64
	Tree               map[string]hclust.TreeLayout
	UnsortedNames      map[string][]string
}

HclustData contains clustering information.

type SortedData

type SortedData struct {
	ConditionDist [][]float64
	Matrices      *types.Matrices
	ReadoutDist   [][]float64
}

SortedData from clustering.

Jump to

Keyboard shortcuts

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