Skip to contents

This function filters BLAST-like tabular output according to percentage query coverage.

Usage

filter_qcov(rbh, qcov = 0, inverse = FALSE)

Arguments

rbh

BLAST-like tabular matrix [mandatory]

qcov

query coverage [default: 0.0]

inverse

specify if filter should keep the removed values [default: FALSE]

Value

rbh matrix

Author

Kristian K Ullrich

Examples

## load crbh data
data(ath_aly_crbh)
dim(ath_aly_crbh$crbh1)
#> [1] 211  16
dim(filter_qcov(
    rbh=ath_aly_crbh$crbh1,
    qcov=0.75))
#> [1] 146  16