heatmap

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

Documentation

Overview

Package heatmap draws a png heatmap.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heatmap

type Heatmap struct {
	AbundanceCap float64
	Annotations  types.Annotations
	CellSize     int
	ColorSpace   string
	FontPath     string
	Height       int
	Invert       bool
	Markers      types.Markers
	MinAbundance float64
	NumColors    int
	Width        int
}

Heatmap object.

func Initialize

func Initialize() *Heatmap

Initialize a heatmap.

func (*Heatmap) Draw

func (h *Heatmap) Draw(matrix [][]float64, filename string)

Draw a heatmap in png format.

Jump to

Keyboard shortcuts

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