SyntenyFilterMixin
Auto-generated from the @jbrowse/mobx-state-tree model in the source. See the developer guide for concepts. Built into JBrowse core. View source.
The filter every view drawing synteny tracks applies to the alignments:
the linear synteny view's ribbons, the dotplot's segments and the circular
view's ribbons.
Properties
| Member | Description |
|---|---|
filtertypes.stripDefault(fieldPredicateArray(), []) |
The alignments drawn, a list of FieldPredicate entries an alignment must all pass. A field is any field color takes, or length, the alignment's bp on its own axis: [{ field: 'length', gte: 10000 }] clears a whole-genome hairball. A filter edit recolors and refetches nothing. |
Getters
| Member | Description |
|---|---|
predicatesFieldPredicate[] |
The filter list as the predicate compiler reads it. |
minLengthnumber |
The lower bound on length, 0 for none. |
Methods
| Member | Description |
|---|---|
lowerBound(field: string) => number |
The lower bound the filter puts on field, 0 for none. |
Actions
| Member | Description |
|---|---|
setFilter(predicates: FieldPredicate[]) => void |
|
setLowerBound(field: string, value: number) => void |
The slider on one field: field at least value, or no lower bound at 0. |
Related links
- Docs: URL query parameter API