heatmap

package
v0.0.0-...-40008dc Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package heatmap creates svg files for various image types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Draw

func Draw(matrix [][]float64, columns, rows []string, parameters Settings) string

Draw creates a heatmap from an input matrix of abundance.

Types

type Settings

type Settings struct {
	Filename     string
	FillColor    string
	AbundanceCap float64
	InvertColor  bool
	MinAbundance float64
}

Settings configuration for drawing heatmap

Jump to

Keyboard shortcuts

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