Removes sites that sites that have been marked by feature/artefact filter.
Usage
filter_artefact(filter, artefacts = NULL)
Arguments
- filter
vector of strings that contains artefact filter information.
- artefacts
vector of characters that correspond to feature/artefact filters to be filtered, default: NULL - Filter all.
Examples
data(rdd)
sum(filter_artefact(rdd$filter, c("D")))
#> [1] 7894