Filter PrePPI interactions by scores
Arguments
- data
A data frame of PrePPI interactions as provided by
preppi_download
.- ...
Minimum values for the scores. The available scores are: str, protpep, str_max, red, ort, phy, coexp, go, total, exp and final. See more about the scores at
preppi_download
.- .op
The operator to combine the scores with: either
'&'
or'|'
. With the former, only records where all scores are above the threshold will be kept; with the latter, records where at least one score is above its threshold will be kept.
Examples
preppi <- preppi_download()
preppi_filtered <- preppi_filter(preppi, red = 10, str = 4.5, ort = 1)
nrow(preppi_filtered)
#> [1] 8443
# [1] 8443