gosling.OverlaidTrack#

class gosling.OverlaidTrack(overlay=Undefined, _assignedHeight=Undefined, _assignedWidth=Undefined, _invalidTrack=Undefined, _renderingId=Undefined, assembly=Undefined, baselineY=Undefined, centerRadius=Undefined, color=Undefined, data=Undefined, dataTransform=Undefined, displacement=Undefined, endAngle=Undefined, experimental=Undefined, flipY=Undefined, height=Undefined, id=Undefined, innerRadius=Undefined, layout=Undefined, linkingId=Undefined, mark=Undefined, opacity=Undefined, orientation=Undefined, outerRadius=Undefined, overlayOnPreviousTrack=Undefined, overrideTemplate=Undefined, prerelease=Undefined, row=Undefined, size=Undefined, spacing=Undefined, startAngle=Undefined, static=Undefined, stretch=Undefined, stroke=Undefined, strokeWidth=Undefined, style=Undefined, subtitle=Undefined, text=Undefined, title=Undefined, tooltip=Undefined, visibility=Undefined, width=Undefined, x=Undefined, x1=Undefined, x1e=Undefined, xAxis=Undefined, xDomain=Undefined, xOffset=Undefined, xe=Undefined, y=Undefined, y1=Undefined, y1e=Undefined, yDomain=Undefined, yOffset=Undefined, ye=Undefined, zoomLimits=Undefined, **kwds)#

OverlaidTrack schema wrapper

Mapping(required=[overlay]) Superposing multiple tracks.

Attributes:
overlayList(Mapping(required=[]))
_assignedHeightfloat
_assignedWidthfloat

Internal: Used for responsive spec

_invalidTrackboolean

internal

_renderingIdstring

internal

assemblyAssembly

A string that specifies the genome builds to use. Currently support “hg38”, “hg19”, “hg18”, “hg17”, “hg16”, “mm10”, “mm9”, and “unknown”.

__Note:__: with “unknown” assembly, genomic axes do not show chrN: in labels.

baselineYfloat
centerRadiusfloat

Proportion of the radius of the center white space.

__Default:__ 0.3

coloranyOf(Color, ChannelValue)
dataDataDeep
dataTransformList(DataTransform)
displacementDisplacement
endAnglefloat

Specify the end angle (in the range of [0, 360]) of circular tracks ({“layout”: “circular”}).

experimentalMapping(required=[])
flipYboolean
heightfloat

Specify the track height in pixels.

idstring
innerRadiusfloat

Specify the inner radius of tracks when ({“layout”: “circular”}).

layoutLayout

Specify the layout type of all tracks.

linkingIdstring

Specify an ID for [linking multiple views](http://gosling-lang.org/docs/user-interaction#linking-views)

markMark
opacityanyOf(Opacity, ChannelValue)
orientationOrientation

Specify the orientation.

outerRadiusfloat

Specify the outer radius of tracks when {“layout”: “circular”}.

overlayOnPreviousTrackboolean
overrideTemplateboolean
prereleaseMapping(required=[])

internal

rowanyOf(Row, ChannelValue)
sizeanyOf(Size, ChannelValue)
spacingfloat

The size of the gap (1) between tracks, (2) between views, and (3) of the origin of circular tracks. The effect of this property depends on where on the spec you specify the spacing.

In a linear layout, this value is used in pixels, while in a circular layout, this value is used relative to the height of the tracks or views.

startAnglefloat

Specify the start angle (in the range of [0, 360]) of circular tracks ({“layout”: “circular”}).

staticboolean

Whether to disable [Zooming and Panning](http://gosling-lang.org/docs/user-interaction#zooming-and-panning), __Default:__ false.

stretchboolean
strokeanyOf(Stroke, ChannelValue)
strokeWidthanyOf(StrokeWidth, ChannelValue)
styleStyle

Define the [style](http://gosling-lang.org/docs/visual-channel#style-related-properties) of multive views. Will be overwritten by the style of children elements (e.g., view, track).

subtitlestring
textanyOf(Text, ChannelValue)
titlestring

If defined, will show the textual label on the left-top corner of a track.

tooltipList(Tooltip)
visibilityList(VisibilityCondition)
widthfloat

Specify the track width in pixels.

xanyOf(X, ChannelValue)
x1anyOf(X, ChannelValue)
x1eanyOf(X, ChannelValue)
xAxisAxisPosition

not supported

xDomainanyOf(DomainInterval, DomainChrInterval, DomainChr)

Specify the visible region of genomic x-axis

xOffsetfloat

Specify the x offset of views in the unit of pixels

xeanyOf(X, ChannelValue)
yanyOf(Y, ChannelValue)
y1anyOf(Y, ChannelValue)
y1eanyOf(Y, ChannelValue)
yDomainanyOf(DomainInterval, DomainChrInterval, DomainChr)

Specify the visible region of genomic y-axis

yOffsetfloat

Specify the y offset of views in the unit of pixels

yeanyOf(Y, ChannelValue)
zoomLimitsZoomLimits
__init__(overlay=Undefined, _assignedHeight=Undefined, _assignedWidth=Undefined, _invalidTrack=Undefined, _renderingId=Undefined, assembly=Undefined, baselineY=Undefined, centerRadius=Undefined, color=Undefined, data=Undefined, dataTransform=Undefined, displacement=Undefined, endAngle=Undefined, experimental=Undefined, flipY=Undefined, height=Undefined, id=Undefined, innerRadius=Undefined, layout=Undefined, linkingId=Undefined, mark=Undefined, opacity=Undefined, orientation=Undefined, outerRadius=Undefined, overlayOnPreviousTrack=Undefined, overrideTemplate=Undefined, prerelease=Undefined, row=Undefined, size=Undefined, spacing=Undefined, startAngle=Undefined, static=Undefined, stretch=Undefined, stroke=Undefined, strokeWidth=Undefined, style=Undefined, subtitle=Undefined, text=Undefined, title=Undefined, tooltip=Undefined, visibility=Undefined, width=Undefined, x=Undefined, x1=Undefined, x1e=Undefined, xAxis=Undefined, xDomain=Undefined, xOffset=Undefined, xe=Undefined, y=Undefined, y1=Undefined, y1e=Undefined, yDomain=Undefined, yOffset=Undefined, ye=Undefined, zoomLimits=Undefined, **kwds)#

Methods

__init__([overlay, _assignedHeight, ...])

copy([deep, ignore])

Return a copy of the object

from_dict(dct[, validate, _wrapper_classes])

Construct class from a dictionary representation

from_json(json_string[, validate])

Instantiate the object from a valid JSON string

resolve_references([schema])

Resolve references in the context of this object's schema or root schema.

to_dict([validate, ignore, context])

Return a dictionary representation of the object

to_json([validate, ignore, context, indent, ...])

Emit the JSON representation for this object as a string.

validate(instance[, schema])

Validate the instance against the class schema in the context of the rootschema.

validate_property(name, value[, schema])

Validate a property against property schema in the context of the rootschema