Skip to main content

go-annotation-ribbon-table

Overview

The Annotation Ribbon Table component displays a table of GO annotations. This component does not fetch data by itself, it expects the data to be provided in the data attribute.

Properties

PropertyAttributeDescriptionTypeDefault
baseApiUrlbase-api-urlstring"https://api.geneontology.org/api/ontology/ribbon/"
bioLinkDatabio-link-dataReading biolink data. This will trigger a render of the table as would changing datastringundefined
datadataMust follow the appropriate JSON data model Can be given as either JSON or stringified JSONstringundefined
filterByfilter-byFilter rows based on the presence of one or more values in a given column The filtering will be based on cell label or id Example: filter-by="evidence:ISS,ISO or multi-step filters: filter-by:evidence:ISS,ISO;term:xxx" Note: if value is "", remove any filteringstringundefined
groupBaseUrlgroup-base-urlstring"http://amigo.geneontology.org/amigo/term/"
groupBygroup-byUsing this parameter, the table rows can bee grouped based on column ids A multiple step grouping is possible by using a ";" between groups The grouping applies before the ordering Example: hid-1,hid-3 OR hid-1,hid-3;hid-2 Note: if value is "", remove any groupingstringundefined
hideColumnshide-columnsUsed to hide specific column of the tablestringundefined
orderByorder-byThis is used to sort the table depending of a column The column cells must be single values The ordering applies after the grouping Note: if value is "", remove any orderingstringundefined
subjectBaseUrlsubject-base-urlstring"http://amigo.geneontology.org/amigo/gene_product/"

Methods

showCurie() => Promise<void>

Returns

Type: Promise<void>

showDBXrefs() => Promise<void>

Returns

Type: Promise<void>

showOriginalTable() => Promise<void>

Returns

Type: Promise<void>

showTable() => Promise<void>

Returns

Type: Promise<void>