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'. |

BTR documentation built on May 30, 2017, 3:23 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.