sum_score: BLAST sum-score

Description Usage Arguments Details Value

View source: R/WIS_functions.R

Description

Caclulated BLAST sum-score from raw-scores and BLAST search statistics

Usage

1
sum_score(b, metadata)

Arguments

b

Vector of integers or floats.

metadata

BLAST metadata as returned by read_blast_xml. A data.frame object with one row containing the columns Statistics_lambda, Statistics_kappa, query_len and Statistics_db.le

Details

This function calculates the BLAST sum-score as described in Equation 4-17 here: http://etutorials.org/Misc/blast/Part+II+Theory/Chapter+4.+Sequence+Similarity/4.7+Sum+Statistics+and+Sum+Scores/

Value

Sum score as float.


robbueck/wisard documentation built on Jan. 25, 2022, 12:35 a.m.