encode.Rd
Encodes a sequence from txDRUG.tyDRUG format into a tuple of tuples
encode(str_seq)
String sequence to decode
s1 - A list of tuples, each tuple containing a time and drug specification s_decoded <- decode(str_seq)