genome_spy.value¶
- genome_spy.value(value, /, *, buildIndex=Undefined, condition=Undefined, description=Undefined, title=Undefined)View on GitHub¶
Create a constant-value encoding channel.
- Parameters:
buildIndex (bool) – Builds and index for efficient rendering of subsets of the data. This setting is useful when rendering large amounts of data and often only a small subset of the data is visible. An example of such a situation is a scatter plot spanning the whole genome. This setting implicitly sorts the data by the field assigned on the
xchannel.condition (Any) – A field definition or one or more value definition(s) with a parameter predicate.
description (str) – A description of the encoded value. Can be used for documentation and to explain the meaning of the channel mapping.
title (str | None) – A title for the field. If
null, the title will be removed.value (Any) – A constant value in visual domain (e.g.,
"red"/"#0099ff", values between0to1for opacity).