Description Usage Arguments Value Examples
View source: R/general_function.R
Fast estabolish the mapping relation between two element
1 | splitAndCombine(gene, rxn, sep0)
|
gene |
A vetor contains elements with "&" or "," |
rxn |
A vector contains unique identifier |
sep0 |
A string, i.e, "&". "," |
A dataframe contains the single mapping relation for the element from gene and rxn
1 2 3 | gene <- c('a&b','c')
rxn <- c('r1','r2')
splitAndCombine(gene, rxn, sep0="&")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.