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:
GenomeSpySchemaGenerated wrapper for
TransformParams.Methods
anchorHeight([value, expr])Return a copy with
anchorHeightupdated.anchorWidth([value, expr])Return a copy with
anchorWidthupdated.animationHalfLife([value, expr])Return a copy with a
ExprRefanimationHalfLife.asChrom(value)Return a copy with
asChromupdated.asEnd(value)Return a copy with
asEndupdated.asKey(value)Return a copy with
asKeyupdated.asMidpoint(value)Return a copy with
asMidpointupdated.asStart(value)Return a copy with
asStartupdated.asValue(value)Return a copy with
asValueupdated.as_(value)Return a copy with
asupdated.baseField(value)Return a copy with
baseFieldupdated.cardinality(value)Return a copy with
cardinalityupdated.channel(value)Return a copy with
channelupdated.chrom(value)Return a copy with
chromupdated.chromLabelAlign(value)Return a copy with
chromLabelAlignupdated.chromLabelPadding(value)Return a copy with
chromLabelPaddingupdated.chromLabelSpacing(value)Return a copy with
chromLabelSpacingupdated.chromLabelWidth(value)Return a copy with
chromLabelWidthupdated.cigar(value)Return a copy with
cigarupdated.columnPadding(value)Return a copy with
columnPaddingupdated.columnRegex(value)Return a copy with
columnRegexupdated.columns(value)Return a copy with
columnsupdated.copy(*[, deep])Return a copy with optional keyword updates.
copyFields(value)Return a copy with
copyFieldsupdated.debounce(value)Return a copy with
debounceupdated.default(value)Return a copy with
defaultupdated.description(value)Return a copy with
descriptionupdated.direction(value)Return a copy with
directionupdated.domainParam([value, name, push])Return a copy with a
TransformOutputdomainParam.element(value)Return a copy with
elementupdated.ellipsis(value)Return a copy with
ellipsisupdated.empty(value)Return a copy with
emptyupdated.end(value)Return a copy with
endupdated.exons(value)Return a copy with
exonsupdated.expr(value)Return a copy with
exprupdated.extent([value, expr])Return a copy with a
ExprRefextent.field(value)Return a copy with
fieldupdated.fields(value)Return a copy with
fieldsupdated.font(value)Return a copy with
fontupdated.fontSize(value)Return a copy with
fontSizeupdated.fontStyle(value)Return a copy with
fontStyleupdated.fontWeight(value)Return a copy with
fontWeightupdated.frame(value)Return a copy with
frameupdated.from_([value, description, ...])Return a copy with
fromupdated.groupby(value)Return a copy with
groupbyupdated.height([value, expr])Return a copy with
heightupdated.ignorePeers(value)Return a copy with
ignorePeersupdated.index(value)Return a copy with
indexupdated.key(value)Return a copy with
keyupdated.labelAlign(value)Return a copy with
labelAlignupdated.labelAngle(value)Return a copy with
labelAngleupdated.labelBaseline(value)Return a copy with
labelBaselineupdated.labelFlush(value)Return a copy with
labelFlushupdated.labelFlushOffset(value)Return a copy with
labelFlushOffsetupdated.labelFlushZoomExtent(value)Return a copy with
labelFlushZoomExtentupdated.labelFontSize(value)Return a copy with
labelFontSizeupdated.labelOffset(value)Return a copy with
labelOffsetupdated.labelOverlap(value)Return a copy with
labelOverlapupdated.labelSeparation(value)Return a copy with
labelSeparationupdated.labelVisible(value)Return a copy with
labelVisibleupdated.labelWidth(value)Return a copy with
labelWidthupdated.lane(value)Return a copy with
laneupdated.leaf(value)Return a copy with
leafupdated.leafIndex(value)Return a copy with
leafIndexupdated.leafOrder([value, expr])Return a copy with a
ExprRefleafOrder.length([value, expr])Return a copy with
lengthupdated.limit(value)Return a copy with
limitupdated.md(value)Return a copy with
mdupdated.membership(value)Return a copy with
membershipupdated.offset(value)Return a copy with
offsetupdated.ops(value)Return a copy with
opsupdated.padding(value)Return a copy with
paddingupdated.param(value)Return a copy with
paramupdated.params(value)Return a copy with
paramsupdated.parentKey(value)Return a copy with
parentKeyupdated.pos(value)Return a copy with
posupdated.pos2(value)Return a copy with
pos2updated.positionFactor([value, expr])Return a copy with a
ExprRefpositionFactor.preference(value)Return a copy with
preferenceupdated.preferredOrder(value)Return a copy with
preferredOrderupdated.quality(value)Return a copy with
qualityupdated.regex(value)Return a copy with
regexupdated.Return this class schema with referenced properties merged in.
rowPadding(value)Return a copy with
rowPaddingupdated.score(value)Return a copy with
scoreupdated.separator(value)Return a copy with
separatorupdated.sequence(value)Return a copy with
sequenceupdated.set(value)Return a copy with
setupdated.siblingOrder(value)Return a copy with
siblingOrderupdated.size(value)Return a copy with
sizeupdated.skipInvalidInput(value)Return a copy with
skipInvalidInputupdated.skipRegex(value)Return a copy with
skipRegexupdated.sort([value, field, order])Return a copy with a
CompareParamssort.spacing(value)Return a copy with
spacingupdated.start(value)Return a copy with
startupdated.symbolOffset(value)Return a copy with
symbolOffsetupdated.symbolSize(value)Return a copy with
symbolSizeupdated.symbolStrokeWidth(value)Return a copy with
symbolStrokeWidthupdated.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
transformupdated.type(value)Return a copy with
typeupdated.validate(instance)Validate an instance against this wrapper's schema.
values(value)Return a copy with
valuesupdated.weight(value)Return a copy with
weightupdated.width(value)Return a copy with
widthupdated.x(value)Return a copy with
xupdated.xOffset(value)Return a copy with
xOffsetupdated.y(value)Return a copy with
yupdated.yExtent([value, expr])Return a copy with a
ExprRefyExtent.yOffset(value)Return a copy with
yOffsetupdated.- anchorHeight(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with
anchorHeightupdated.- Parameters:
expr (str) – The expression string.
- anchorWidth(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with
anchorWidthupdated.- Parameters:
expr (str) – The expression string.
- animationHalfLife(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefanimationHalfLife.- Parameters:
expr (str) – The expression string.
- as_(value)View on GitHub¶
Return a copy with
asupdated.
- asChrom(value)View on GitHub¶
Return a copy with
asChromupdated.
- asEnd(value)View on GitHub¶
Return a copy with
asEndupdated.
- asKey(value)View on GitHub¶
Return a copy with
asKeyupdated.
- asMidpoint(value)View on GitHub¶
Return a copy with
asMidpointupdated.
- asStart(value)View on GitHub¶
Return a copy with
asStartupdated.
- asValue(value)View on GitHub¶
Return a copy with
asValueupdated.
- baseField(value)View on GitHub¶
Return a copy with
baseFieldupdated.
- cardinality(value)View on GitHub¶
Return a copy with
cardinalityupdated.
- channel(value)View on GitHub¶
Return a copy with
channelupdated.
- chrom(value)View on GitHub¶
Return a copy with
chromupdated.
- chromLabelAlign(value)View on GitHub¶
Return a copy with
chromLabelAlignupdated.
- chromLabelPadding(value)View on GitHub¶
Return a copy with
chromLabelPaddingupdated.
- chromLabelSpacing(value)View on GitHub¶
Return a copy with
chromLabelSpacingupdated.
- chromLabelWidth(value)View on GitHub¶
Return a copy with
chromLabelWidthupdated.
- cigar(value)View on GitHub¶
Return a copy with
cigarupdated.
- columnPadding(value)View on GitHub¶
Return a copy with
columnPaddingupdated.
- columnRegex(value)View on GitHub¶
Return a copy with
columnRegexupdated.
- columns(value)View on GitHub¶
Return a copy with
columnsupdated.
- copyFields(value)View on GitHub¶
Return a copy with
copyFieldsupdated.
- debounce(value)View on GitHub¶
Return a copy with
debounceupdated.
- default(value)View on GitHub¶
Return a copy with
defaultupdated.
- description(value)View on GitHub¶
Return a copy with
descriptionupdated.
- direction(value)View on GitHub¶
Return a copy with
directionupdated.
- domainParam(value=Undefined, /, *, name=Undefined, push=Undefined)View on GitHub¶
Return a copy with a
TransformOutputdomainParam.- Parameters:
name (str) – Schema-defined
nameproperty.push (Literal['outer']) – Schema-defined
pushproperty.
- element(value)View on GitHub¶
Return a copy with
elementupdated.
- ellipsis(value)View on GitHub¶
Return a copy with
ellipsisupdated.
- empty(value)View on GitHub¶
Return a copy with
emptyupdated.
- end(value)View on GitHub¶
Return a copy with
endupdated.
- exons(value)View on GitHub¶
Return a copy with
exonsupdated.
- expr(value)View on GitHub¶
Return a copy with
exprupdated.
- extent(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefextent.- Parameters:
expr (str) – The expression string.
- field(value)View on GitHub¶
Return a copy with
fieldupdated.
- fields(value)View on GitHub¶
Return a copy with
fieldsupdated.
- font(value)View on GitHub¶
Return a copy with
fontupdated.
- fontSize(value)View on GitHub¶
Return a copy with
fontSizeupdated.
- fontStyle(value)View on GitHub¶
Return a copy with
fontStyleupdated.
- fontWeight(value)View on GitHub¶
Return a copy with
fontWeightupdated.
- frame(value)View on GitHub¶
Return a copy with
frameupdated.
- 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
fromupdated.- Parameters:
description (str) – Schema-defined
descriptionproperty.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
formatproperty.lazy (LazyDataParams | dict[str, Any]) – Schema-defined
lazyproperty.name (str) – Schema-defined
nameproperty.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.typeproperty 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
dataproperty. Strings are parsed according to the specified format type.
- groupby(value)View on GitHub¶
Return a copy with
groupbyupdated.
- height(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with
heightupdated.- Parameters:
expr (str) – The expression string.
- ignorePeers(value)View on GitHub¶
Return a copy with
ignorePeersupdated.
- index(value)View on GitHub¶
Return a copy with
indexupdated.
- key(value)View on GitHub¶
Return a copy with
keyupdated.
- labelAlign(value)View on GitHub¶
Return a copy with
labelAlignupdated.
- labelAngle(value)View on GitHub¶
Return a copy with
labelAngleupdated.
- labelBaseline(value)View on GitHub¶
Return a copy with
labelBaselineupdated.
- labelFlush(value)View on GitHub¶
Return a copy with
labelFlushupdated.
- labelFlushOffset(value)View on GitHub¶
Return a copy with
labelFlushOffsetupdated.
- labelFlushZoomExtent(value)View on GitHub¶
Return a copy with
labelFlushZoomExtentupdated.
- labelFontSize(value)View on GitHub¶
Return a copy with
labelFontSizeupdated.
- labelOffset(value)View on GitHub¶
Return a copy with
labelOffsetupdated.
- labelOverlap(value)View on GitHub¶
Return a copy with
labelOverlapupdated.
- labelSeparation(value)View on GitHub¶
Return a copy with
labelSeparationupdated.
- labelVisible(value)View on GitHub¶
Return a copy with
labelVisibleupdated.
- labelWidth(value)View on GitHub¶
Return a copy with
labelWidthupdated.
- lane(value)View on GitHub¶
Return a copy with
laneupdated.
- leaf(value)View on GitHub¶
Return a copy with
leafupdated.
- leafIndex(value)View on GitHub¶
Return a copy with
leafIndexupdated.
- leafOrder(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefleafOrder.- Parameters:
expr (str) – The expression string.
- length(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with
lengthupdated.- Parameters:
expr (str) – The expression string.
- limit(value)View on GitHub¶
Return a copy with
limitupdated.
- md(value)View on GitHub¶
Return a copy with
mdupdated.
- membership(value)View on GitHub¶
Return a copy with
membershipupdated.
- offset(value)View on GitHub¶
Return a copy with
offsetupdated.
- ops(value)View on GitHub¶
Return a copy with
opsupdated.
- padding(value)View on GitHub¶
Return a copy with
paddingupdated.
- param(value)View on GitHub¶
Return a copy with
paramupdated.
- params(value)View on GitHub¶
Return a copy with
paramsupdated.
- parentKey(value)View on GitHub¶
Return a copy with
parentKeyupdated.
- pos(value)View on GitHub¶
Return a copy with
posupdated.
- pos2(value)View on GitHub¶
Return a copy with
pos2updated.
- positionFactor(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefpositionFactor.- Parameters:
expr (str) – The expression string.
- preference(value)View on GitHub¶
Return a copy with
preferenceupdated.
- preferredOrder(value)View on GitHub¶
Return a copy with
preferredOrderupdated.
- quality(value)View on GitHub¶
Return a copy with
qualityupdated.
- regex(value)View on GitHub¶
Return a copy with
regexupdated.
- rowPadding(value)View on GitHub¶
Return a copy with
rowPaddingupdated.
- score(value)View on GitHub¶
Return a copy with
scoreupdated.
- separator(value)View on GitHub¶
Return a copy with
separatorupdated.
- sequence(value)View on GitHub¶
Return a copy with
sequenceupdated.
- set(value)View on GitHub¶
Return a copy with
setupdated.
- siblingOrder(value)View on GitHub¶
Return a copy with
siblingOrderupdated.
- size(value)View on GitHub¶
Return a copy with
sizeupdated.
- skipInvalidInput(value)View on GitHub¶
Return a copy with
skipInvalidInputupdated.
- skipRegex(value)View on GitHub¶
Return a copy with
skipRegexupdated.
- sort(value=Undefined, /, *, field=Undefined, order=Undefined)View on GitHub¶
Return a copy with a
CompareParamssort.- 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
spacingupdated.
- start(value)View on GitHub¶
Return a copy with
startupdated.
- symbolOffset(value)View on GitHub¶
Return a copy with
symbolOffsetupdated.
- symbolSize(value)View on GitHub¶
Return a copy with
symbolSizeupdated.
- symbolStrokeWidth(value)View on GitHub¶
Return a copy with
symbolStrokeWidthupdated.
- transform(value)View on GitHub¶
Return a copy with
transformupdated.
- type(value)View on GitHub¶
Return a copy with
typeupdated.
- values(value)View on GitHub¶
Return a copy with
valuesupdated.
- weight(value)View on GitHub¶
Return a copy with
weightupdated.
- width(value)View on GitHub¶
Return a copy with
widthupdated.
- x(value)View on GitHub¶
Return a copy with
xupdated.
- xOffset(value)View on GitHub¶
Return a copy with
xOffsetupdated.
- y(value)View on GitHub¶
Return a copy with
yupdated.
- yExtent(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefyExtent.- Parameters:
expr (str) – The expression string.
- yOffset(value)View on GitHub¶
Return a copy with
yOffsetupdated.
- 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.