pandaspgs.get_trait.get_child_traits

get_child_traits(
    trait_id: str = None,
    cached: bool = True,
    mode: str = "Fat",
) -> Trait

Get children Trait data of the specified Trait ID from the server.

Parameters:
  • trait_id (str, default: None ) –

    Ontology ID (e.g. from EFO, HP or MONDO) with the format "EFO_XXXX"

  • cached (bool, default: True ) –

    Whether or not to try to get data from the cache.

  • mode (str, default: 'Fat' ) –

    Fat or Thin. Specifies the mode of the returned object.

Returns:
  • Trait

    A Trait object. Attributes of type DataFrame have hierarchical dependencies.

from pandaspgs.get_child_trait import get_child_traits

ch = get_child_traits(trait_id='EFO_0000305')