assign_ko {annotation.terms} R Documentation

do KO number assign based on the bbh alignment result.

Description

Usage

assign_ko(forward, reverse,
    threshold = 0.95,
    score.cutoff = 60,
    kaas.rank = TRUE);

Arguments

forward

a forward blastn best hit(BestHit) result data pipeline. [as pipeline]

reverse

a reverse blastn best hit(BestHit) result data pipeline. [as pipeline]

env

the R# runtime environment object. [as Environment]

Details

Authors

seqtoolkit

Value

a vector of the KOAssignmentCandidate KO assignment result when the kaas_rank parameter is TRUE, or a vector of the BHR result when this parameter is FALSE;

this function returns a R# error message object if the given forward or reverse data stream is nothing or its element type is not the BestHit object.

clr value class

Examples


[Package annotation.terms version 1.0.0.0 Index]