Write an iterative method that will start by looking for enrichments and deficiencies for each location and each amino acid. Then it will
- select the significant subset using a given threshold
- for each significant result, do a new search within the pattern of that result
Iterate this until nothing comes out as significant. This will give you a tree of results, but you will see that some of the nodes on the tree will converge in the same motif, meaning it is actually a DAG.
Report each significant motif with their p-values, and with their parent-child relations.
Write an iterative method that will start by looking for enrichments and deficiencies for each location and each amino acid. Then it will
Iterate this until nothing comes out as significant. This will give you a tree of results, but you will see that some of the nodes on the tree will converge in the same motif, meaning it is actually a DAG.
Report each significant motif with their p-values, and with their parent-child relations.