kmeRs_score_and_sort: Score And Sort The Similarity Matrix

Description Usage Arguments Value Examples

View source: R/kmeRs_score_and_sort.R

Description

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

Usage

1

Arguments

kmeRs_similarity_matrix

the similarity matrix calculated by kmeRs_similarity_matrix function

Value

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

Examples

1
2
3
4
# Calculate the example BLOSUM62 matrix and score the result

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

kmeRs documentation built on May 2, 2019, 6:46 a.m.