So I am trying to filter a data set by rows that have don't have a specific string. I want to filter against rows that contain the string "biological process", but not ones that have something like "negative regulation of biological process". When I use the following code it gets rid of both rows because they both contain that phrase. Is there a way to do an exact match to do this?
utlarge.go.filter<-utlarge.go %>%
filter(Count>=10&!str_detect(GO_assignment,"biological process"))