genome_spy.TransformParams

class genome_spy.TransformParams(anchorHeight=Undefined, anchorWidth=Undefined, animationHalfLife=Undefined, as_=Undefined, asChrom=Undefined, asEnd=Undefined, asKey=Undefined, asMidpoint=Undefined, asStart=Undefined, asValue=Undefined, baseField=Undefined, cardinality=Undefined, channel=Undefined, chrom=Undefined, chromLabelAlign=Undefined, chromLabelPadding=Undefined, chromLabelSpacing=Undefined, chromLabelWidth=Undefined, cigar=Undefined, columnPadding=Undefined, columnRegex=Undefined, columns=Undefined, copyFields=Undefined, debounce=Undefined, default=Undefined, description=Undefined, direction=Undefined, domainParam=Undefined, element=Undefined, ellipsis=Undefined, empty=Undefined, end=Undefined, exons=Undefined, expr=Undefined, extent=Undefined, field=Undefined, fields=Undefined, font=Undefined, fontSize=Undefined, fontStyle=Undefined, fontWeight=Undefined, frame=Undefined, from_=Undefined, groupby=Undefined, height=Undefined, ignorePeers=Undefined, index=Undefined, key=Undefined, labelAlign=Undefined, labelAngle=Undefined, labelBaseline=Undefined, labelFlush=Undefined, labelFlushOffset=Undefined, labelFlushZoomExtent=Undefined, labelFontSize=Undefined, labelOffset=Undefined, labelOverlap=Undefined, labelSeparation=Undefined, labelVisible=Undefined, labelWidth=Undefined, lane=Undefined, leaf=Undefined, leafIndex=Undefined, leafOrder=Undefined, length=Undefined, limit=Undefined, md=Undefined, membership=Undefined, offset=Undefined, ops=Undefined, padding=Undefined, param=Undefined, params=Undefined, parentKey=Undefined, pos=Undefined, pos2=Undefined, positionFactor=Undefined, preference=Undefined, preferredOrder=Undefined, quality=Undefined, regex=Undefined, rowPadding=Undefined, score=Undefined, separator=Undefined, sequence=Undefined, set=Undefined, siblingOrder=Undefined, size=Undefined, skipInvalidInput=Undefined, skipRegex=Undefined, sort=Undefined, spacing=Undefined, start=Undefined, symbolOffset=Undefined, symbolSize=Undefined, symbolStrokeWidth=Undefined, transform=Undefined, type=Undefined, values=Undefined, weight=Undefined, width=Undefined, x=Undefined, xOffset=Undefined, y=Undefined, yExtent=Undefined, yOffset=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for TransformParams.

Methods

anchorHeight([value, expr])

Return a copy with anchorHeight updated.

anchorWidth([value, expr])

Return a copy with anchorWidth updated.

animationHalfLife([value, expr])

Return a copy with a ExprRef animationHalfLife.

asChrom(value)

Return a copy with asChrom updated.

asEnd(value)

Return a copy with asEnd updated.

asKey(value)

Return a copy with asKey updated.

asMidpoint(value)

Return a copy with asMidpoint updated.

asStart(value)

Return a copy with asStart updated.

asValue(value)

Return a copy with asValue updated.

as_(value)

Return a copy with as updated.

baseField(value)

Return a copy with baseField updated.

cardinality(value)

Return a copy with cardinality updated.

channel(value)

Return a copy with channel updated.

chrom(value)

Return a copy with chrom updated.

chromLabelAlign(value)

Return a copy with chromLabelAlign updated.

chromLabelPadding(value)

Return a copy with chromLabelPadding updated.

chromLabelSpacing(value)

Return a copy with chromLabelSpacing updated.

chromLabelWidth(value)

Return a copy with chromLabelWidth updated.

cigar(value)

Return a copy with cigar updated.

columnPadding(value)

Return a copy with columnPadding updated.

columnRegex(value)

Return a copy with columnRegex updated.

columns(value)

Return a copy with columns updated.

copy(*[, deep])

Return a copy with optional keyword updates.

copyFields(value)

Return a copy with copyFields updated.

debounce(value)

Return a copy with debounce updated.

default(value)

Return a copy with default updated.

description(value)

Return a copy with description updated.

direction(value)

Return a copy with direction updated.

domainParam([value, name, push])

Return a copy with a TransformOutput domainParam.

element(value)

Return a copy with element updated.

ellipsis(value)

Return a copy with ellipsis updated.

empty(value)

Return a copy with empty updated.

end(value)

Return a copy with end updated.

exons(value)

Return a copy with exons updated.

expr(value)

Return a copy with expr updated.

extent([value, expr])

Return a copy with a ExprRef extent.

field(value)

Return a copy with field updated.

fields(value)

Return a copy with fields updated.

font(value)

Return a copy with font updated.

fontSize(value)

Return a copy with fontSize updated.

fontStyle(value)

Return a copy with fontStyle updated.

fontWeight(value)

Return a copy with fontWeight updated.

frame(value)

Return a copy with frame updated.

from_([value, description, ...])

Return a copy with from updated.

groupby(value)

Return a copy with groupby updated.

height([value, expr])

Return a copy with height updated.

ignorePeers(value)

Return a copy with ignorePeers updated.

index(value)

Return a copy with index updated.

key(value)

Return a copy with key updated.

labelAlign(value)

Return a copy with labelAlign updated.

labelAngle(value)

Return a copy with labelAngle updated.

labelBaseline(value)

Return a copy with labelBaseline updated.

labelFlush(value)

Return a copy with labelFlush updated.

labelFlushOffset(value)

Return a copy with labelFlushOffset updated.

labelFlushZoomExtent(value)

Return a copy with labelFlushZoomExtent updated.

labelFontSize(value)

Return a copy with labelFontSize updated.

labelOffset(value)

Return a copy with labelOffset updated.

labelOverlap(value)

Return a copy with labelOverlap updated.

labelSeparation(value)

Return a copy with labelSeparation updated.

labelVisible(value)

Return a copy with labelVisible updated.

labelWidth(value)

Return a copy with labelWidth updated.

lane(value)

Return a copy with lane updated.

leaf(value)

Return a copy with leaf updated.

leafIndex(value)

Return a copy with leafIndex updated.

leafOrder([value, expr])

Return a copy with a ExprRef leafOrder.

length([value, expr])

Return a copy with length updated.

limit(value)

Return a copy with limit updated.

md(value)

Return a copy with md updated.

membership(value)

Return a copy with membership updated.

offset(value)

Return a copy with offset updated.

ops(value)

Return a copy with ops updated.

padding(value)

Return a copy with padding updated.

param(value)

Return a copy with param updated.

params(value)

Return a copy with params updated.

parentKey(value)

Return a copy with parentKey updated.

pos(value)

Return a copy with pos updated.

pos2(value)

Return a copy with pos2 updated.

positionFactor([value, expr])

Return a copy with a ExprRef positionFactor.

preference(value)

Return a copy with preference updated.

preferredOrder(value)

Return a copy with preferredOrder updated.

quality(value)

Return a copy with quality updated.

regex(value)

Return a copy with regex updated.

resolve_references()

Return this class schema with referenced properties merged in.

rowPadding(value)

Return a copy with rowPadding updated.

score(value)

Return a copy with score updated.

separator(value)

Return a copy with separator updated.

sequence(value)

Return a copy with sequence updated.

set(value)

Return a copy with set updated.

siblingOrder(value)

Return a copy with siblingOrder updated.

size(value)

Return a copy with size updated.

skipInvalidInput(value)

Return a copy with skipInvalidInput updated.

skipRegex(value)

Return a copy with skipRegex updated.

sort([value, field, order])

Return a copy with a CompareParams sort.

spacing(value)

Return a copy with spacing updated.

start(value)

Return a copy with start updated.

symbolOffset(value)

Return a copy with symbolOffset updated.

symbolSize(value)

Return a copy with symbolSize updated.

symbolStrokeWidth(value)

Return a copy with symbolStrokeWidth updated.

to_dict(*[, validate])

Serialize this schema wrapper to a JSON-compatible dictionary.

to_json(*[, validate])

Serialize this schema wrapper to formatted JSON.

transform(value)

Return a copy with transform updated.

type(value)

Return a copy with type updated.

validate(instance)

Validate an instance against this wrapper's schema.

values(value)

Return a copy with values updated.

weight(value)

Return a copy with weight updated.

width(value)

Return a copy with width updated.

x(value)

Return a copy with x updated.

xOffset(value)

Return a copy with xOffset updated.

y(value)

Return a copy with y updated.

yExtent([value, expr])

Return a copy with a ExprRef yExtent.

yOffset(value)

Return a copy with yOffset updated.

anchorHeight(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with anchorHeight updated.

Parameters:

expr (str) – The expression string.

anchorWidth(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with anchorWidth updated.

Parameters:

expr (str) – The expression string.

animationHalfLife(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef animationHalfLife.

Parameters:

expr (str) – The expression string.

as_(value)View on GitHub

Return a copy with as updated.

asChrom(value)View on GitHub

Return a copy with asChrom updated.

asEnd(value)View on GitHub

Return a copy with asEnd updated.

asKey(value)View on GitHub

Return a copy with asKey updated.

asMidpoint(value)View on GitHub

Return a copy with asMidpoint updated.

asStart(value)View on GitHub

Return a copy with asStart updated.

asValue(value)View on GitHub

Return a copy with asValue updated.

baseField(value)View on GitHub

Return a copy with baseField updated.

cardinality(value)View on GitHub

Return a copy with cardinality updated.

channel(value)View on GitHub

Return a copy with channel updated.

chrom(value)View on GitHub

Return a copy with chrom updated.

chromLabelAlign(value)View on GitHub

Return a copy with chromLabelAlign updated.

chromLabelPadding(value)View on GitHub

Return a copy with chromLabelPadding updated.

chromLabelSpacing(value)View on GitHub

Return a copy with chromLabelSpacing updated.

chromLabelWidth(value)View on GitHub

Return a copy with chromLabelWidth updated.

cigar(value)View on GitHub

Return a copy with cigar updated.

columnPadding(value)View on GitHub

Return a copy with columnPadding updated.

columnRegex(value)View on GitHub

Return a copy with columnRegex updated.

columns(value)View on GitHub

Return a copy with columns updated.

copyFields(value)View on GitHub

Return a copy with copyFields updated.

debounce(value)View on GitHub

Return a copy with debounce updated.

default(value)View on GitHub

Return a copy with default updated.

description(value)View on GitHub

Return a copy with description updated.

direction(value)View on GitHub

Return a copy with direction updated.

domainParam(value=Undefined, /, *, name=Undefined, push=Undefined)View on GitHub

Return a copy with a TransformOutput domainParam.

Parameters:
  • name (str) – Schema-defined name property.

  • push (Literal['outer']) – Schema-defined push property.

element(value)View on GitHub

Return a copy with element updated.

ellipsis(value)View on GitHub

Return a copy with ellipsis updated.

empty(value)View on GitHub

Return a copy with empty updated.

end(value)View on GitHub

Return a copy with end updated.

exons(value)View on GitHub

Return a copy with exons updated.

expr(value)View on GitHub

Return a copy with expr updated.

extent(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef extent.

Parameters:

expr (str) – The expression string.

field(value)View on GitHub

Return a copy with field updated.

fields(value)View on GitHub

Return a copy with fields updated.

font(value)View on GitHub

Return a copy with font updated.

fontSize(value)View on GitHub

Return a copy with fontSize updated.

fontStyle(value)View on GitHub

Return a copy with fontStyle updated.

fontWeight(value)View on GitHub

Return a copy with fontWeight updated.

frame(value)View on GitHub

Return a copy with frame updated.

from_(value=Undefined, /, *, description=Undefined, dynamicCallbackSource=Undefined, format=Undefined, lazy=Undefined, name=Undefined, source=Undefined, url=Undefined, values=Undefined)View on GitHub

Return a copy with from updated.

Parameters:
  • description (str) – Schema-defined description property.

  • dynamicCallbackSource (bool) – The View class has getDynamicData() methods that provides the data. This is intended for internal use.

  • format (CsvDataFormat | dict[str, Any] | DsvDataFormat | JsonDataFormat | BedDataFormat | BedpeDataFormat | WigDataFormat | VcfDataFormat | OtherDataFormat) – Schema-defined format property.

  • lazy (LazyDataParams | dict[str, Any]) – Schema-defined lazy property.

  • name (str) – Schema-defined name property.

  • source (Literal['input']) – Use the current input data as the lookup table. Lookup reads all records from one input file or inline dataset before emitting results. Multiple files and facets are indexed separately.

  • url (str | Sequence[str] | ExprRef | dict[str, Any] | UrlList | UrlTemplate) – An URL, a list of URLs, or a URL expansion definition from which to load the data set. A URL template can expand values from an ExprRef and attach the expanded value as a field to loaded rows. Gzip-compressed resources are decompressed transparently when the URL, MIME type, or payload indicates gzip content. Use the format.type property to ensure the loaded data is correctly parsed.

  • values (InlineDataset | dict[str, Any]) – The full data set, included inline. This can be an array of objects or primitive values, an object, or a string. Arrays of primitive values are ingested as objects with a data property. Strings are parsed according to the specified format type.

groupby(value)View on GitHub

Return a copy with groupby updated.

height(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with height updated.

Parameters:

expr (str) – The expression string.

ignorePeers(value)View on GitHub

Return a copy with ignorePeers updated.

index(value)View on GitHub

Return a copy with index updated.

key(value)View on GitHub

Return a copy with key updated.

labelAlign(value)View on GitHub

Return a copy with labelAlign updated.

labelAngle(value)View on GitHub

Return a copy with labelAngle updated.

labelBaseline(value)View on GitHub

Return a copy with labelBaseline updated.

labelFlush(value)View on GitHub

Return a copy with labelFlush updated.

labelFlushOffset(value)View on GitHub

Return a copy with labelFlushOffset updated.

labelFlushZoomExtent(value)View on GitHub

Return a copy with labelFlushZoomExtent updated.

labelFontSize(value)View on GitHub

Return a copy with labelFontSize updated.

labelOffset(value)View on GitHub

Return a copy with labelOffset updated.

labelOverlap(value)View on GitHub

Return a copy with labelOverlap updated.

labelSeparation(value)View on GitHub

Return a copy with labelSeparation updated.

labelVisible(value)View on GitHub

Return a copy with labelVisible updated.

labelWidth(value)View on GitHub

Return a copy with labelWidth updated.

lane(value)View on GitHub

Return a copy with lane updated.

leaf(value)View on GitHub

Return a copy with leaf updated.

leafIndex(value)View on GitHub

Return a copy with leafIndex updated.

leafOrder(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef leafOrder.

Parameters:

expr (str) – The expression string.

length(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with length updated.

Parameters:

expr (str) – The expression string.

limit(value)View on GitHub

Return a copy with limit updated.

md(value)View on GitHub

Return a copy with md updated.

membership(value)View on GitHub

Return a copy with membership updated.

offset(value)View on GitHub

Return a copy with offset updated.

ops(value)View on GitHub

Return a copy with ops updated.

padding(value)View on GitHub

Return a copy with padding updated.

param(value)View on GitHub

Return a copy with param updated.

params(value)View on GitHub

Return a copy with params updated.

parentKey(value)View on GitHub

Return a copy with parentKey updated.

pos(value)View on GitHub

Return a copy with pos updated.

pos2(value)View on GitHub

Return a copy with pos2 updated.

positionFactor(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef positionFactor.

Parameters:

expr (str) – The expression string.

preference(value)View on GitHub

Return a copy with preference updated.

preferredOrder(value)View on GitHub

Return a copy with preferredOrder updated.

quality(value)View on GitHub

Return a copy with quality updated.

regex(value)View on GitHub

Return a copy with regex updated.

rowPadding(value)View on GitHub

Return a copy with rowPadding updated.

score(value)View on GitHub

Return a copy with score updated.

separator(value)View on GitHub

Return a copy with separator updated.

sequence(value)View on GitHub

Return a copy with sequence updated.

set(value)View on GitHub

Return a copy with set updated.

siblingOrder(value)View on GitHub

Return a copy with siblingOrder updated.

size(value)View on GitHub

Return a copy with size updated.

skipInvalidInput(value)View on GitHub

Return a copy with skipInvalidInput updated.

skipRegex(value)View on GitHub

Return a copy with skipRegex updated.

sort(value=Undefined, /, *, field=Undefined, order=Undefined)View on GitHub

Return a copy with a CompareParams sort.

Parameters:
  • field (Sequence[Field_T] | Field_T) – The field(s) to sort by

  • order (Sequence[SortOrder_T] | SortOrder_T) – The order(s) to use: "ascending" (default), "descending".

spacing(value)View on GitHub

Return a copy with spacing updated.

start(value)View on GitHub

Return a copy with start updated.

symbolOffset(value)View on GitHub

Return a copy with symbolOffset updated.

symbolSize(value)View on GitHub

Return a copy with symbolSize updated.

symbolStrokeWidth(value)View on GitHub

Return a copy with symbolStrokeWidth updated.

transform(value)View on GitHub

Return a copy with transform updated.

type(value)View on GitHub

Return a copy with type updated.

values(value)View on GitHub

Return a copy with values updated.

weight(value)View on GitHub

Return a copy with weight updated.

width(value)View on GitHub

Return a copy with width updated.

x(value)View on GitHub

Return a copy with x updated.

xOffset(value)View on GitHub

Return a copy with xOffset updated.

y(value)View on GitHub

Return a copy with y updated.

yExtent(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef yExtent.

Parameters:

expr (str) – The expression string.

yOffset(value)View on GitHub

Return a copy with yOffset updated.

copy(*, deep=True, **kwds)View on GitHub

Return a copy with optional keyword updates.

classmethod resolve_references()View on GitHub

Return this class schema with referenced properties merged in.

to_dict(*, validate=True)View on GitHub

Serialize this schema wrapper to a JSON-compatible dictionary.

to_json(*, validate=True)View on GitHub

Serialize this schema wrapper to formatted JSON.

classmethod validate(instance)View on GitHub

Validate an instance against this wrapper’s schema.