pandaspgs.get_publication.get_publications

get_publications(
    pgs_id: str = None,
    pgp_id: str = None,
    pmid: int = None,
    author: str = None,
    cached: bool = True,
    mode: str = "Fat",
) -> Publication

Get Publication data from the server.

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

    PGS Publication ID (PGP)

  • pgp_id (str, default: None ) –

    Polygenic Score ID (PGS)

  • pmid (int, default: None ) –

    PubMed ID (without the prefix "PMID:")

  • author (str, default: None ) –

    Publication author (any author in the list of authors in a publication)

  • 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:
  • Publication

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

from pandaspgs.get_publication import get_publications

ch = get_publications(pgp_id='PGP000003')