This function checks if the first term is found within a vector of terms. Return a logical value. It is smarter than simple string matching, e.g. match_term(v1s&v2s, v2s&v1s) == T, match_term(v1s, v1s&v2s) == T, match_term(v1s&v2s, v1s) == T.

1 | ```
match_term(t1, t2, mode = "logic")
``` |

`t1` |
character vector of length 1 or more. It should be a vector of gene variable. |

`t2` |
character vector of length 1 or more. It should be a vector of gene variables. |

`mode` |
character. Indicates the mode of action. Options: 'logic', 'unique'. Default to 'logic'. |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.