Boolean Algebra
From GeneWeaver Wiki
Contents 
The Boolean Algebra Tool
Why Use the Boolean Algebra Tool
 The Boolean Algebra Tools preforms a Union, Intersection, or Exception on at least two GeneSets. It then provides a listing of genes grouped by the number of GeneSets they have in common. This view may allow you to quickly determine new relationships between GeneSets and create a new GeneSet based on your findings.
Understanding The Boolean Algebra Tool
 The Union of two or more GeneSets is defined as every gene which is in any of the sets. For example, if GeneSet A = {2,4,5,6} and GeneSet B = {1,2,3} then A U B = {1, 2, 3, 4, 5, 6}. The Boolean Algebra tool will return all the genes in the selected GeneSets and indicate the GeneSet(s) it is found in.
 The Intersection of two sets A and B is defined as the set that contains all elements of A that also belong to B (or all elements of B that also belong to A), but no other elements. The Boolean Algebra tool will return all combinations of intersections for the selected GeneSets. Section headings on the results indicate how many GeneSets the gene has in common. For example, say there are three GeneSets, and A = {1, 2}, B = {1, 3}, and C = {1, 3}. The Boolean Algebra Tool will not only return the results that A ∩ B ∩ C = {1}, it will also return the intersection of B and C which is equal to 3.
 The red shaded areas in the figure to the right represent the results which would be returned from the Boolean Algebra tool for an Intersection operation on three GeneSets.
 The third set logic operation the Boolean Algebra tool provides is Except, sometimes also referred to as Minus or Complement. For example, if GeneSet A = {1,2} and GeneSet B = {2,3}, A minus B would be {1}. For the Boolean Algebra's tools purposes, the list of genes that is returned will be those which are only found uniquely in one GeneSet. For example, if A = {1}. B = {1, 2}, and C = { 2, 4, 5}, the tool will return the following genes: 4, and 5.
 The red shaded areas in the figure to the right represent the results which would be returned from the Boolean Algebra tool for an Exception operation on three GeneSets.
Using the Boolean Algebra Tool
 Access the Boolean Algebra Tool through the Analyze Genesets tab under the Analyze Genesets option.
 From the "Analyze Genesets" tab, select "Analyze Genesets". To generate Boolean Algebra results, you must first select at least two GeneSets from a project. Projects may be created and updated by uploading GeneSets, searching the GeneWeaver database, or through the use of other tools in the GeneWeaver System. Please see the documentation for uploading GeneSets, Search, or Manage GeneSets to learn more about these functions. On this page, all the GeneSets in a particular project can be selected by clicking the check box to the left of the project's name. Also, individual GeneSets in a project can be selected by expanding the project by clicking on the project's name and then clicking the check boxes for individual GeneSets within a project. Either option is valid, but at least two GeneSets need to be selected to run the Boolean Algebra tool. After that, select the "Boolean Algebra" from the Analysis Tools box. This tool box is located to the left of your projects. After this selection, three radio buttons will appear. Please select "Union", "Intersection", or "Except" depending on the results you wish to run. Then, press the run button.
Figure 1: After the GeneSets have been selected, select "Boolean Algebra" from from the Analysis Tools box.
