powered by
Decrypt barcode information.
deBarcode(barcode, setnames, collapse=' & ')
a vector of character strings, encoding the intersection combination.
set names.
an optional character string to separate the results. See paste.
paste
A vector.
barcode are character strings of '0' and '1', indicating absence or presence of each set in a intersection combination.
barcode
# NOT RUN { deBarcode(c('01011','10100'), c('S1','S2','S3','S4','S5')) # }
Run the code above in your browser using DataLab