dot-filterByScore.RdFilter PSMs / proteins by a given score column.
.filterByScore( input, score_column, score_threshold, direction, behavior, handle_na = "keep", fill_value = NA, filter = TRUE, drop = TRUE )
| input |
|
|---|---|
| score_column | chr, name of the column that contains scores. |
| score_threshold | num, values below or above this threshold will be removed from the data. |
| direction | chr, if "greater" only values above the threshold will be retained, if "smaller" - below the threshold. |
| behavior | chr, if "remove", values below/above the threshold will be
removed, if "replace", they will be set to |
| fill_value | if |
| filter | If TRUE, filtering will be performed. |
| drop | if TRUE, |
data.table