@@ -11,16 +11,20 @@ d3.csv('data/phenotype_mri.csv', function (data) {
11
11
} ) ;
12
12
dataset = data ;
13
13
14
- dimensionObj = { "project" : { "index" : 1 } ,
15
- "site_id" : { "index" : 2 } ,
16
- "sex" : { "index" : 3 } ,
17
- "diagnosis" : { "index" : 4 } ,
18
- "age" : { "index" : 5 } ,
19
- "handedness" : { "index" : 6 } ,
20
- "full iq" : { "index" : 7 } ,
21
- "performance iq" : { "index" : 8 } ,
22
- "verbal iq" : { "index" : 9 } ,
23
- "MRI" : { "index" : 0 } }
14
+ dimensionObj = {
15
+ "MRI" : { "index" : 0 } ,
16
+ "project" : { "index" : 1 } ,
17
+ "site_id" : { "index" : 2 } ,
18
+ "sex" : { "index" : 3 } ,
19
+ "diagnosis" : { "index" : 4 } ,
20
+ "age" : { "index" : 5 } ,
21
+ "handedness" : { "index" : 6 } ,
22
+ "full_iq" : { "index" : 7 } ,
23
+ "performance_iq" : { "index" : 8 } ,
24
+ "verbal_iq" : { "index" : 9 } ,
25
+ "species" : { "index" : 10 } ,
26
+ "session_count" : { "index" : 11 }
27
+ } ;
24
28
25
29
parcoords = d3 . parcoords ( ) ( "#filter" )
26
30
. data ( data )
@@ -46,7 +50,7 @@ d3.csv('data/phenotype_mri.csv', function (data) {
46
50
// setting up grid
47
51
var column_keys = d3 . keys ( data [ 0 ] ) ;
48
52
column_keys = [ 'project' , 'site_id' , 'participant_id' , 'diagnosis' ,
49
- 'sex' , 'age' , 'MRIs' ]
53
+ 'sex' , 'age' , 'MRIs' ] ;
50
54
var linkformatter = function ( row , cell , value , columnDef , dataContext ) {
51
55
if ( value == '' ) {
52
56
return '' ;
0 commit comments