Skip to content

Commit a4b8f05

Browse files
committed
up
1 parent 86b6cc6 commit a4b8f05

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

BioRadar/src/script/kegg.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function classes(root) {
218218
return {children: classes};
219219
}
220220

221-
function ProteinForceDirectedGraph({onChoose,onRelease}) {
221+
function ProteinForceDirectedGraph({onChoose,onHighLight}) {
222222
debugger
223223
d3.select("#svgprotein").remove();
224224
var width = 650,
@@ -281,6 +281,8 @@ function ProteinForceDirectedGraph({onChoose,onRelease}) {
281281
if(e.data.protein.indexOf(d.label)>=0) return 1;
282282
else return 0.05;
283283
});
284+
if(onHighLight)
285+
onHighLight(d.referenceName)
284286
// var bars1 = d3.select("#svg1").selectAll("rect");
285287
// bars1.style("fill-opacity",function (bar) {
286288
// if(bar.symbol.toUpperCase()==d.label) return 1;

BioRadar/src/script/timeSpaceModel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ d3.TimeSpace = function () {
369369
handle_data(datain);
370370
updateTableInput();
371371
path = {};
372-
BubbleChart();
373-
ProteinForceDirectedGraph({onChoose:master.filter});
372+
// BubbleChart();
373+
// ProteinForceDirectedGraph({onChoose:master.filter,onHighLight:(name)=>{searchHandler({target:{value:name}})}});
374374

375375
// make path object and compute euclideandistance
376376
let euclideandistance_range = [+Infinity,0];

COVID-19/src/scripts/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ function init() {
438438
// const locationfilter= 'Old Town';
439439
// dataRaw = d.filter(d=>(d.category['location (of the message)']&&d.category['location (of the message)'][locationfilter])||(d.category['location (in the message)']&&d.category['location (in the message)'][locationfilter]));
440440
dataRaw = d;
441+
debugger
441442
timestep = 0;
442443
listopt.limitColums = [0,10];
443444
formatTime =getformattime (listopt.time.rate,listopt.time.unit);

0 commit comments

Comments
 (0)