Published
Edited
Jun 10, 2021
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
plco = require('https://episphere.github.io/plco/plco.js')
Insert cell
Insert cell
Insert cell
Insert cell
await plco.api.ping()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
//await plco.api.download("phenotype_id:3080")
Insert cell
Insert cell
await plco.api.metadata({ phenotype_id: 3080, sex: "female", ancestry: "european" })
Insert cell
Insert cell
await plco.api.participants({phenotype_id: 2250})
Insert cell
Insert cell
await plco.api.summary({ phenotype_id: 3080, sex: "female", ancestry: "european", p_value_nlog_min: 4 })
Insert cell
Insert cell
await plco.api.variants({ phenotype_id: 3080, sex: "female", ancestry: "european", chromosome: 8, p_value_nlog_min: 4, limit: 10 })
Insert cell
Insert cell
await plco.api.get("metadata?phenotype_id=3080")
Insert cell
await plco.api.parms2string()
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more