dotplot

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

Documentation

Overview

Package dotplot draws a svg dotplot.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLegend

func CreateLegend(data Legend)

CreateLegend creates a legend for a dotplot.

Types

type Dotplot

type Dotplot struct {
	AbundanceCap    float64
	Annotations     types.Annotations
	BoundingBox     bool
	CellSize        int
	Columns         []string
	EdgeColor       string
	FillColor       string
	FontSize        int
	Invert          bool
	LeftMargin      int
	Markers         types.Markers
	Matrices        *types.Matrices
	MinAbundance    float64
	NumColors       int
	PlotHeight      int
	PlotWidth       int
	PrimaryFilter   float64
	Ratio           float64
	Rows            []string
	ScoreType       string
	SecondaryFilter float64
	SvgHeight       int
	SvgWidth        int
	TopMargin       int
	XLabel          string
	YLabel          string
}

Dotplot properties.

func Initialize

func Initialize() *Dotplot

Initialize a heatmap.

func (*Dotplot) Draw

func (d *Dotplot) Draw(filename string)

Draw a dotplot in svg format.

type Legend

type Legend = heatmap.Legend

Legend settings.

Jump to

Keyboard shortcuts

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