filterByDomains filters a data frame by identifying exact domain matches and either keeping or removing rows with the identified domain
Arguments
- prot
Dataframe to filter
- column
Column to search for domains in (DomArch column)
- doms_keep
Vector of domains that must be identified within column in order for observation to be kept
- doms_remove
Vector of domains that, if found within an observation, will be removed
- ignore.case
Should the matching be non case sensitive