--- title: "Numeric Focus" slug: "numeric-focus-syntax" updated: 2022-07-27T22:29:15Z published: 2022-07-27T22:29:15Z canonical: "code.tag.bio/numeric-focus-syntax" --- > ## Documentation Index > Fetch the complete documentation index at: https://code.tag.bio/llms.txt > Use this file to discover all available pages before exploring further. # numeric_focus ## numeric_focus **usage: common - datatype: object** The *numeric_focus* for a Tag.script is the distribution of the *numeric_focus* attribute over the set of entities defined by the *background* attribute. The *numeric_focus* attribute is mandatory when the analysis method is "numeric-comparison". There is no default value for the *numeric_focus* attribute, therefore an error will be thrown if it is undefined for a "numeric-comparison" analysis. The simple form of the *numeric_focus* attribute is a single numeric variable object. ``` "numeric_focus": { "variable_type": "numeric", //A numeric variable object "collection": "cccc", //"cccc" is a valid numeric collection name in tag.cortex "variable": "vvvv" //"vvvv" is a valid variable name in collection "cccc" } ``` Alternatively, the *numeric_focus* attribute can be any numeric variable object that compiles to a single numeric variable, such as "numeric-compound". ``` "numeric_focus": { "variable_type": "numeric-compound", //A numeric variable object "operator": "oooo", //A numeric operator, such as "*" "criteria": [ {...}, //One or more numeric variable objects ... ] } ```