API reference¶
Every public object has its own page. Each class page opens with a summary table of its methods and attributes, followed by the full description of each one.
Most classes here are generated from the GenomeSpy JSON schema and keep their upstream names and property names, so types used in the grammar documents the same objects.
Chart and composition¶
Charts and composed views. Their methods return new objects, so a chart can be extended without mutating the original.
An immutable-style builder backed by generated |
|
A grid-concatenated GenomeSpy specification. |
|
A horizontally concatenated GenomeSpy specification. |
|
A child-view import that can participate in chart composition. |
|
A layered GenomeSpy specification. |
|
A semantic-zoom composition backed by generated schema state. |
|
Shared behavior for top-level GenomeSpy specifications. |
|
A vertically concatenated GenomeSpy specification. |
Encoding channels¶
One class per encoding channel. Pass them to encode(), or use the field/type
shorthand such as "score:Q" for simple cases.
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Create a GenomeSpy chromosomal locus channel definition. |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
|
Generated wrapper for the |
API functions¶
Constructors and helpers for composition, encoding definitions, parameters, and schema objects.
Create top-level shared axis configuration. |
|
Create a generic input binding. |
|
Create a checkbox input binding. |
|
Create a radio input binding. |
|
Create a range input binding. |
|
Create a select input binding. |
|
Create a sort/compare definition. |
|
Return a concat composition of the given charts. |
|
Create a parameter predicate for a conditional encoding value. |
|
Create a top-level GenomeSpy config object. |
|
Create a data-format wrapper. |
|
Build datum expressions or constant-datum channels. |
|
Create a zoom-dependent opacity definition. |
|
Build expression references, constants, and function calls. |
|
Return a hconcat composition of the given charts. |
|
Create an imported child view from a URL or template. |
|
Return a layer composition of the given charts. |
|
Create a GenomeSpy chromosomal locus channel definition. |
|
Return a multiscale composition of the given charts. |
|
Create a reusable GenomeSpy parameter handle. |
|
Create a parse mapping for a data format. |
|
Create a GenomeSpy |
|
Create top-level shared scale configuration. |
|
Create a GenomeSpy |
|
Create a GenomeSpy |
|
Create a step-sized dimension wrapper. |
|
Create a chart title object. |
|
Serialize a DataFrame-like object as uncompressed Arrow IPC bytes. |
|
Create a constant-value encoding channel. |
|
Return a vconcat composition of the given charts. |
|
Create a view background configuration. |
|
Create a top-level view config object. |
|
Start an Altair-style selection condition. |
Schema objects¶
Schema-backed configuration objects accepted by charts, channels, and helpers.
Generated wrapper for |
|
Generated wrapper for |
|
Generated wrapper for |
|
Generated wrapper for |
|
Generated wrapper for |
|
Generated wrapper for |
|
A composable GenomeSpy expression string. |
|
Generated wrapper for |
|
Generated wrapper for |
|
Generated wrapper for |
|
Generated wrapper for |
|
Represent a declared GenomeSpy parameter in Python expressions. |
|
Generated wrapper for |
|
Generated wrapper for |
|
Generated wrapper for |
|
Generated wrapper for |
|
Generated wrapper for |
|
Generated wrapper for |
|
Generated wrapper for |
Data sources¶
gs.lazy is a ready-made LazyNamespace instance,
so a lazy source is created with gs.lazy.bigwig(url) rather than by
constructing the namespace.
Convenience builders for GenomeSpy lazy data sources. |
Data preparation settings¶
gs.data_transformers controls automatic sharing of inline tables during
serialization. It supports consolidate_datasets and temporary overrides with
enable(). It does not provide a transformer plugin registry.
Control whether exported charts share repeated inline tables. |
Example datasets¶
Packaged tables used by the gallery examples. See example datasets for their contents and sources.
Packaged dataset names. |
|
Load a packaged example dataset by name. |
|
Dataset name lookup failed. |
Notebook rendering¶
A lightweight anywidget wrapper around GenomeSpy's |