Data Filters : Parameters associated with filtering

# aggregations
Flexible aggregation (Tableau-style materialized group-by). Each entry is { by:[annotation names], defaultFn, overrides:{ variable: fn }, sep? } where fn is mean | median | sum | min | max | sd | count | first. Collapses the samples by the grouping annotation(s) so the distinct group keys become the new samples, each variable reduced per group. Applied at load AFTER calculatedFields; serialized so it persists and reproduces
Type: array
Default: []

# calculatedFields
Formula-derived columns (Tableau-style calculated fields). Each entry is { name, target, formula } where target is variable | sampleAnnotation | variableAnnotation and formula is a safe expression over existing fields (e.g. log2(A/B), (V1 - mean(V1)) / sd(V1)). Materialized into data.y/x/z at load; serialized so they persist and reproduce
Type: array
Default: []

# dataFilterBackgroundColor

# dataFilterBorderColor

# dataFilterFontSize

# dataFilterHoverColor

# dataFilterMaxItems

# dataFilterTextColor

# dataFilterToolbarBackgroundColor

# dataFilterWidth

# filterData
Array of arrays with filtering functions. Each function takes four parameters. The fisrt parameter is the type of filter. This could either of: var, smp, series, meta, x, y, z, data, network or guess (if not known). The second parameter is the key that usually correspond to a sample or variable factor name in the x or z object of the data. The third parameter is the operator to use which is one of: >, >=, <, <=, between, exact, like or not like and the four parameter is an array with the value or values that are needed for the corresponding evaluation. Here are some examples: [ x, class, exact, [ A ] ], [ guess, dose, between, [ 0.5, 2 ] ]
Type: array
Default: []

# filterDataBy

# filterEdgeBy

# filterFeatureBy

# filterMode
Mode for the legend filters. Can be set to hide the data using transparency or to color the data points with the missingDataColor
Type: string
Default: hide
Options: hide, color

# filterNodeBy

# filterSkipNullKeys

# filterSkipNullValues

# filterSmpBy
Filter samples by their annotation included in the data.x object used in one dimensional plots. Used in the CanvasXpress UIs
Type: filter
Default: {}

# filterType

# filterVarBy
Filter variables by their annotation included in the data.z object used in one dimensional plots. Used in the CanvasXpress UIs
Type: filter
Default: {}

# shelfStates
Saved named authoring states from the Shelves customizer section. Each entry is { name, config } where config is a snapshot of the authoring keys (graphType, colorBy/sizeBy/shapeBy/patternBy, segregate/grouping, filterData, calculatedFields, aggregations). Saved from the Shelves toolbar and re-applied (via updateConfig) from its dropdown; serialized so they persist and reproduce
Type: array
Default: []

# toggleSwitchBackgroundColor