You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is often useful to exclude low abundance (erroneous) or high abundance (repeat associated) kmers from a count table.
As a user I'd expect a method called .min() to return all the kmers with the minimum observed count and .max() to be all kmers with the max observed count.
For thresholding at some cutoff value, maybe something like .mincut() and .maxcut() ?
Suggested use:
table=oxli.KmerCountTable(3)
kmers= ["AAA", "GGG", "GGG"]
forkmerinkmers:
table.count(kmer)
table.mincut(2)
>>"Dropped 1 hash with fewer than 2 counts."table.get("AAA")
>>0table.get("GGG")
>>2
It is often useful to exclude low abundance (erroneous) or high abundance (repeat associated) kmers from a count table.
As a user I'd expect a method called
.min()
to return all the kmers with the minimum observed count and.max()
to be all kmers with the max observed count.For thresholding at some cutoff value, maybe something like
.mincut()
and.maxcut()
?Suggested use:
@ctb?
The text was updated successfully, but these errors were encountered: