match_term: Check for matching terms

Description Usage Arguments

Description

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.

Usage

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

Arguments

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



Search within the BTR package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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