BasicFeatureFilter
Auto-generated from the config schema in the source — see the config guide for concepts. Provided by the canvas plugin. View source.
The tests LinearBasicDisplay applies to the features it fetched, its
filter: the jexl expressions every display's feature filter takes, and
the gene-like features as a category.
Example usage
{ type: 'LinearBasicDisplay', filter: { genes: 'only' } }Related links
- Base config: FeatureFilter
Config slots
A setting written to it names members one by one: a member left out stays as it is, and null resets one. Slot types (fileLocation, frozen, ...) are explained in the config slot types reference. Slots a base configuration contributes are listed here too, so this table is the whole surface.
| Slot | Description |
|---|---|
genesmaybeStringEnum (only, exclude) | only, exclude, or unset for unfiltered: the gene-like top-level features, which are every gene, transcript and RNA type, the transcriptTypes and containerTypes, and a top-level CDS. "Filter by... → Genes" sets it. |
| Inherited from FeatureFilter | 1 slot |
expressionsexpressionArray = [] | The features the display admits: a feature is drawn when every expression holds. Each entry is a jexl: expression over feature. The "Filter by..." dialog and "Edit plot..." edit this list, and "Clear all filters" returns it to what the track's config declares. |