[][src]Function finch::statistics::hist

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

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 repetative kmers in the genome)