| kmer {kmer} | R Documentation |
Fast K-mer Counting and Clustering for Biological Sequence Analysis.
Description
The kmer package contains tools for rapidly computing distance matrices, building large trees, and clustering operational taxonomic units using fast alignment-free k-mer counting and divisive clustering techniques.
Functions
A breif description of the primary kmer functions are provided with links to their help pages below.
K-mer counting
-
kcountcounts all k-letter words in a sequence or set of sequences using a sliding window of length k
Distance matrix computation
-
kdistancecalculates pairwise distances between sequences based on k-mer counts -
mbedembeds sequences as vectors of k-mer distances to a set of seed' sequences
Alignment-free clustering
-
clusterbuilds a phylogenetic tree by successively splitting a set of sequences (recursive partitioning) based on k-mer counts -
otuheirarchically clusters a set of sequences until a predefined furthest neighbor dissimilarity threshold is reached.