Skip to contents

This function filters BLAST-like tabular output according to alignment length.

Usage

filter_alnlen(rbh, alnlen = 0, inverse = FALSE)

Arguments

rbh

BLAST-like tabular matrix [mandatory]

alnlen

alignment length [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_alnlen(
    rbh=ath_aly_crbh$crbh1,
    alnlen=75))
#> [1] 200  16