Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type CladesDist ¶ added in v0.4.2
type Context ¶
type Context struct { NamesNum int Kingdom, Context Clade KingdomPercentage, ContextPercentage float32 Kingdoms []CladesDist }
func New ¶ added in v0.4.1
New takes several items that include bio-clasification and returns back the kingdom where most of items belong to (if rank 'kingdom' is provided), percentage of how many items belong to that kingdom, and the highest ranking clade that includes a certain percentage of species. The percentage is provided via threshold parameter.
The algorithm assumes that all items belong to the same classification tree and that classification does not skip clades from item to item.
Click to show internal directories.
Click to hide internal directories.