Query results can be saved as a new fully functional map layer. The query in figure 4 returns a map of 163 genes (blue), which can be saved as a new map layer "enzyme regulator activity genes." This layer can then be used for other queries including spatial queries. A spatial query can be constructed using the "Select by Location" function in the "Selection" menu. The query wizard allows a user to specify the layers and the spatial relation between them (such as overlaps, contains, within distance of). In this case, the user selects the "enzyme regulator activity genes" and "TFBS" layers, the spatial relation "within distance of" and specifies a "buffer" of the desired distance 100 bp.