Dear Fran,
I see. This feature would be possible but it is maybe not so easy to add. Something tricky about this is that a pattern may appear multiple times in a same sequence. For example, the pattern (A,
![cool smiley cool smiley](https://forum.philippe-fournier-viger.com/mods/smileys/images/cool.gif)
(A) appears at least 5 times in the sequence (A,B,C)(A,
![cool smiley cool smiley](https://forum.philippe-fournier-viger.com/mods/smileys/images/cool.gif)
,(A,B,D)(A,C). Thus, if I understand well, you would like that the program indicate each occurrence of the pattern in that sequence?
For example, it could be said that
the first occurrence of (A,
![cool smiley cool smiley](https://forum.philippe-fournier-viger.com/mods/smileys/images/cool.gif)
(A) is 1st itemset, 2nd itemset
the second occurrence of (A,
![cool smiley cool smiley](https://forum.philippe-fournier-viger.com/mods/smileys/images/cool.gif)
(A) is in 1st itemset, 3rd itemset
....
Because each algorithm is different, I think that to add this feature, it would require to choose one algorithm to modify it for that. Or another way that would be less efficient, would be to do a post-processing step to highlights the occurrences of each patterns in each sequence where it appears. This would maybe be easier to do. Which algorithm are you using?
Best,
PHilippe