Function finch::statistics::hist

source ·
pub fn hist(sketch: &[KmerCount]) -> Vec<u64>
Expand description

Generates a Vec of numbers of kmers for each coverage level

For example, a size 1000 sketch of the same genome repeated 5 times (e.g. 5x coverage) should produce a “histogram” like [0, 0, 0, 0, 1000] (assuming no repetitive kmers in the genome)