Skip to contents

This function filters BLAST-like tabular output according to protein identity.

Usage

filter_pident(rbh, pident = 0, inverse = FALSE)

Arguments

rbh

BLAST-like tabular matrix [mandatory]

pident

percent identity [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_pident(
    rbh=ath_aly_crbh$crbh1,
    pident=75))
#> [1] 96 16