features

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Help = `` /* 1060-byte string literal not displayed */

Functions

func Binom

func Binom(fore, back []int) Feature

binomial p-value

func CallCreateWithArgs

func CallCreateWithArgs(function CreateFunc, args []interface{}) (Feature, error)

func Hyper

func Hyper(fore []int, back []int) Feature

hypergeometric split p-value

func HyperApprox

func HyperApprox(fore []int, back []int) Feature

approximate hypergeometric split p-value (~5 significant digits)

func HyperDown

func HyperDown(fore []int, back []int) Feature

hypergeometric split down p-value

func HyperOptimal

func HyperOptimal(fore []int) Feature

func Matches

func Matches(group []int) Feature

the count of matching sequences

func MatchesProp

func MatchesProp(group []int) Feature

the ratio of matching sequences to total count

func MatchesPropRatio

func MatchesPropRatio(nom []int, denom []int) Feature

the ratio of proptions between matches (adjusted)

func MatchesRatio

func MatchesRatio(nom []int, denom []int) Feature

the ratio between matching sequences (adjusted)

func Occs

func Occs(group []int) Feature

the count of occurences

func OccsRatio

func OccsRatio(nom []int, denom []int) Feature

the ratio between occurences (adjusted)

func Pat

func Pat() Feature

pattern as a string

func PatChars

func PatChars() Feature

count of characters

func PatGroups

func PatGroups() Feature

count of groups

func PatLength

func PatLength() Feature

length of the pattern

func PatRegex

func PatRegex() Feature

pattern as regular expression

func PatStars

func PatStars() Feature

count of stars

func Seqs

func Seqs(group []int) Feature

the count of matching unique sequences

func Total

func Total(group []int) Feature

the total count of sequences

Types

type CreateFunc

type CreateFunc interface{}

func Get

func Get(name string) (CreateFunc, bool)

Jump to

Keyboard shortcuts

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