kmeRs_score {kmeRs}R Documentation

Sort a k-mer Similarity Matrix

Description

The kmeRs_score function sums the partial scores and sort the data.frame to indicate the most 'different' k-mers

Usage

kmeRs_score(x, decreasing = FALSE)

Arguments

x

the similarity matrix calculated by kmeRs_similarity_matrix function

decreasing

when TRUE, results are sorted decreasing

Value

sorted similarity matrix with global.score column added; is returned as a data.frame

Examples

# Calculate the example BLOSUM62 matrix and score the result

example <- kmeRs_similarity_matrix(kmers_given = c("A", "T", "C", "G"), submat = "BLOSUM62")
kmeRs_score(example)


[Package kmeRs version 2.1.0 Index]