tophits

Extract top hits based on p-value threshold from a GWAS dataset.

post/tophits

Request

  • Base URL: https://api.opengwas.io/api
  • URL: https://api.opengwas.io/api/tophits
  • Auth: API key in header Authorization

Query parameters

idstring[] required

list of GWAS study IDs

pvalnumber

P-value threshold (must <= 0.01) (exponents not supported through Swagger)

preclumpedinteger

Whether to use pre-clumped tophits (1) or not (0)

clumpinteger

Whether to clump (1) or not (0)

r2number

Clumping parameter

kbinteger

Clumping parameter

pop'EUR' | 'SAS' | 'EAS' | 'AFR' | 'AMR' | 'legacy'
commercial_approval_receivedinteger

[Only for commercial users under agreement/contract] Whether to include results from datasets of which commercial use is not allowed as per the metadata. Other users do not need to specify this.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.