hannesbecher / shiny-k-mers

Tetemer, an R package and Shiny app for interactively fitting population parameters to k-mer spectra of diploids, triploids, and tetraploids (allo and auto)
GNU General Public License v3.0
11 stars 1 forks source link

Add k-mer size to spectrum objects #1

Closed hannesbecher closed 2 years ago

hannesbecher commented 3 years ago

K-mer size could be a slot in the spectrum class. Default value could be NA. This would then make it possible to compute pi and per-nucleotide divergence in allopolyploids.