deBarcode: Decrypt Barcode

Description Usage Arguments Details Value Author(s) Examples

View source: R/intersect.R

Description

Decrypt barcode information.

Usage

1
deBarcode(barcode, setnames, collapse=' & ')

Arguments

barcode

a vector of character strings, encoding the intersection combination.

setnames

set names.

collapse

an optional character string to separate the results. See paste.

Details

barcode are character strings of '0' and '1', indicating absence or presence of each set in a intersection combination.

Value

A vector.

Author(s)

Minghui Wang <[email protected]>

Examples

1
deBarcode(c('01011','10100'), c('S1','S2','S3','S4','S5'))

Example output

Loading required package: grid

Attaching package: 'SuperExactTest'

The following objects are masked from 'package:base':

    intersect, union

         01011          10100 
"S2 & S4 & S5"      "S1 & S3" 

SuperExactTest documentation built on Feb. 9, 2018, 6:08 a.m.