Skip to contents

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

Usage

filter_tcov(rbh, tcov = 0, inverse = FALSE)

Arguments

rbh

BLAST-like tabular matrix [mandatory]

tcov

target 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_tcov(
    rbh=ath_aly_crbh$crbh1,
    tcov=0.75))
#> [1] 140  16