1. A method of identifying partial order patterns of a set of motifs in a data sequence, comprising the steps of: obtaining the data sequence; identifying a set of motifs in the data sequence; identifying a plurality of partial orders of the motifs in the data sequence; and using the identified partial orders to identify functions of the motifs.