rarefy

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package rarefy provides rarefaction curve generation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rarefy

func Rarefy(readCounts []int, step int) ([]int, []int)

Rarefy returns a rarefaction curve for the given read counts. Output is one slice of x values (number of reads) and one slice of corresponding y values (species count).

readCounts has the number of reads per species. step is the x-axis interval length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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