Skip to content

Class: EntityGridResponse

Generic entity x entity grid response

URI: https://w3id.org/monarch/monarch-py/EntityGridResponse

 classDiagram
    class EntityGridResponse
    click EntityGridResponse href "../EntityGridResponse/"
      EntityGridResponse : bins





        EntityGridResponse --> "1..*" GridBin : bins
        click GridBin href "../GridBin/"



      EntityGridResponse : cells





        EntityGridResponse --> "1..*" GridCellData : cells
        click GridCellData href "../GridCellData/"



      EntityGridResponse : columns





        EntityGridResponse --> "1..*" GridColumnEntity : columns
        click GridColumnEntity href "../GridColumnEntity/"



      EntityGridResponse : context_category

      EntityGridResponse : context_id

      EntityGridResponse : context_name

      EntityGridResponse : rows





        EntityGridResponse --> "1..*" GridRowEntity : rows
        click GridRowEntity href "../GridRowEntity/"



      EntityGridResponse : total_columns

      EntityGridResponse : total_rows

Slots

Name Cardinality and Range Description Inheritance
context_id 1
String
The identifier of the context entity (e direct
context_name 0..1
String
The name of the context entity direct
context_category 1
String
The biolink category of the context entity direct
total_columns 1
Integer
Total number of column entities in the grid direct
total_rows 1
Integer
Total number of row entities in the grid direct
columns 1..*
GridColumnEntity
List of column entities in the grid direct
rows 1..*
GridRowEntity
List of row entities in the grid direct
bins 1..*
GridBin
List of bins for grouping row entities direct
cells 1..*
GridCellData
Map of column_id:row_id to cell data direct

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self https://w3id.org/monarch/monarch-py/EntityGridResponse
native https://w3id.org/monarch/monarch-py/EntityGridResponse

LinkML Source

Direct

name: EntityGridResponse
description: Generic entity x entity grid response
from_schema: https://w3id.org/monarch/monarch-py
slots:
- context_id
- context_name
- context_category
- total_columns
- total_rows
- columns
- rows
- bins
- cells
slot_usage:
  context_id:
    name: context_id
    required: true
  context_category:
    name: context_category
    required: true
  total_columns:
    name: total_columns
    required: true
  total_rows:
    name: total_rows
    required: true
  columns:
    name: columns
    description: List of column entities in the grid
    range: GridColumnEntity
    required: true
    multivalued: true
    inlined_as_list: true
  rows:
    name: rows
    description: List of row entities in the grid
    range: GridRowEntity
    required: true
    multivalued: true
    inlined_as_list: true
  bins:
    name: bins
    description: List of bins for grouping row entities
    range: GridBin
    required: true
    multivalued: true
    inlined_as_list: true
  cells:
    name: cells
    description: Map of column_id:row_id to cell data
    range: GridCellData
    required: true
    multivalued: true
    inlined: true
    inlined_as_list: false

Induced

name: EntityGridResponse
description: Generic entity x entity grid response
from_schema: https://w3id.org/monarch/monarch-py
slot_usage:
  context_id:
    name: context_id
    required: true
  context_category:
    name: context_category
    required: true
  total_columns:
    name: total_columns
    required: true
  total_rows:
    name: total_rows
    required: true
  columns:
    name: columns
    description: List of column entities in the grid
    range: GridColumnEntity
    required: true
    multivalued: true
    inlined_as_list: true
  rows:
    name: rows
    description: List of row entities in the grid
    range: GridRowEntity
    required: true
    multivalued: true
    inlined_as_list: true
  bins:
    name: bins
    description: List of bins for grouping row entities
    range: GridBin
    required: true
    multivalued: true
    inlined_as_list: true
  cells:
    name: cells
    description: Map of column_id:row_id to cell data
    range: GridCellData
    required: true
    multivalued: true
    inlined: true
    inlined_as_list: false
attributes:
  context_id:
    name: context_id
    description: The identifier of the context entity (e.g., disease, gene)
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: context_id
    owner: EntityGridResponse
    domain_of:
    - EntityGridResponse
    range: string
    required: true
  context_name:
    name: context_name
    description: The name of the context entity
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: context_name
    owner: EntityGridResponse
    domain_of:
    - EntityGridResponse
    range: string
  context_category:
    name: context_category
    description: The biolink category of the context entity
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: context_category
    owner: EntityGridResponse
    domain_of:
    - EntityGridResponse
    range: string
    required: true
  total_columns:
    name: total_columns
    description: Total number of column entities in the grid
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: total_columns
    owner: EntityGridResponse
    domain_of:
    - EntityGridResponse
    range: integer
    required: true
  total_rows:
    name: total_rows
    description: Total number of row entities in the grid
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: total_rows
    owner: EntityGridResponse
    domain_of:
    - EntityGridResponse
    range: integer
    required: true
  columns:
    name: columns
    description: List of column entities in the grid
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: columns
    owner: EntityGridResponse
    domain_of:
    - EntityGridResponse
    range: GridColumnEntity
    required: true
    multivalued: true
    inlined: true
    inlined_as_list: true
  rows:
    name: rows
    description: List of row entities in the grid
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: rows
    owner: EntityGridResponse
    domain_of:
    - EntityGridResponse
    range: GridRowEntity
    required: true
    multivalued: true
    inlined: true
    inlined_as_list: true
  bins:
    name: bins
    description: List of bins for grouping row entities
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: bins
    owner: EntityGridResponse
    domain_of:
    - CasePhenotypeMatrixResponse
    - EntityGridResponse
    range: GridBin
    required: true
    multivalued: true
    inlined: true
    inlined_as_list: true
  cells:
    name: cells
    description: Map of column_id:row_id to cell data
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: cells
    owner: EntityGridResponse
    domain_of:
    - CasePhenotypeMatrixResponse
    - EntityGridResponse
    range: GridCellData
    required: true
    multivalued: true
    inlined: true
    inlined_as_list: false