Published
Edited
May 29, 2020
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
ag_omega_vs_freq = vegalite({
"title": null,
data: {values: _.filter(_.map (aggregated_omega_freq, (d,k)=> [k,(d.N/d.S)/(d.EN/d.ES)]), (f)=>f[0] != "0")},

layer: [{
width : 400,
height: 400,

"mark": {
"type": "point",
"filled" : true,
clip : true
},
"encoding": {
"size" : {"value" : 100},
"x": {
field: "0",
"title" : "Variant Frequency",
type: "ordinal",
"scale" : {"type": "ordinal", "domain" : ["1","2","3","4","5","6","7-10","11-20","21-3000",">3000"]}
},

"y": {"field": "1", "type": "quantitative", axis: {
"title" : "dN/dS",
axis: null,
"grid" : false,
},

"scale": {
"type": "linear",
}},
}
}]

})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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