splitAndCombine: Fast estabolish the mapping relation between two element

Description Usage Arguments Value Examples

View source: R/general_function.R

Description

Fast estabolish the mapping relation between two element

Usage

1
splitAndCombine(gene, rxn, sep0)

Arguments

gene

A vetor contains elements with "&" or ","

rxn

A vector contains unique identifier

sep0

A string, i.e, "&". ","

Value

A dataframe contains the single mapping relation for the element from gene and rxn

Examples

1
2
3
gene <- c('a&b','c')
rxn <- c('r1','r2')
splitAndCombine(gene, rxn, sep0="&")

hongzhonglu/Yeastspot3D documentation built on March 28, 2020, 6:06 p.m.