[ Launch: zoomable genechip ] 56f3a9d8ef4570097b5a by nehiljain
-
-
Save nehiljain/56f3a9d8ef4570097b5a to your computer and use it in GitHub Desktop.
modified working genechip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"description":"modified working genechip","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"genedata.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"style.css":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"pingpong","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"ajax-caching":true,"thumbnail":"http://i.imgur.com/KgL2Xke.png","inline-console":true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"profileId":1092, | |
"firstName":"Lilly", | |
"lastName":"Demo", | |
"demo":false, | |
"notes":null, | |
"children":[ | |
{ | |
"id":6, | |
"code":"motivation", | |
"percentile":68, | |
"score":5.195, | |
"normalizedScore":71.60578911095796, | |
"type":"category", | |
"children":[ | |
{ | |
"id":2, | |
"name":"rs10887741", | |
"geneCode":"PAPSS2", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.22053756030323932 | |
}, | |
{ | |
"id":6, | |
"name":"rs12612420", | |
"geneCode":"SPATS2L", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.22053756030323932 | |
}, | |
{ | |
"id":34, | |
"name":"rs8097348", | |
"geneCode":"C18orf2", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.22053756030323932 | |
}, | |
{ | |
"id":21, | |
"name":"rs2253206", | |
"geneCode":"CREB1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.11853893866299114 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.030323914541695404 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.019297036526533442 | |
}, | |
{ | |
"id":18, | |
"name":"rs2016520", | |
"geneCode":"PPARD", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.01654031702274295 | |
}, | |
{ | |
"id":22, | |
"name":"rs2267668", | |
"geneCode":"PPARD", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.01654031702274295 | |
}, | |
{ | |
"id":35, | |
"name":"rs8192678", | |
"geneCode":"PPARGC1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.01654031702274295 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.01240523776705721 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.00964851826326672 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.008270158511371474 | |
}, | |
{ | |
"id":8, | |
"name":"rs16139", | |
"geneCode":"NPY", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.008270158511371474 | |
}, | |
{ | |
"id":27, | |
"name":"rs670", | |
"geneCode":"APOA1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.008270158511371474 | |
}, | |
{ | |
"id":32, | |
"name":"rs699", | |
"geneCode":"AGT", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.008270158511371474 | |
}, | |
{ | |
"id":20, | |
"name":"rs211302", | |
"geneCode":"KIF5B", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.005513439007580983 | |
}, | |
{ | |
"id":23, | |
"name":"rs2402970", | |
"geneCode":"NRF1", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.005513439007580983 | |
}, | |
{ | |
"id":31, | |
"name":"rs6949152", | |
"geneCode":"NRF1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.005513439007580983 | |
}, | |
{ | |
"id":26, | |
"name":"rs4994", | |
"geneCode":"ADRB3", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.004135079255685737 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0027567195037904915 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0027567195037904915 | |
}, | |
{ | |
"id":5, | |
"name":"rs1208", | |
"geneCode":"NAT2", | |
"snpValue":"--", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0027567195037904915 | |
}, | |
{ | |
"id":11, | |
"name":"rs1799722", | |
"geneCode":"BDKRB2", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0027567195037904915 | |
}, | |
{ | |
"id":12, | |
"name":"rs1799945", | |
"geneCode":"HFE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0027567195037904915 | |
}, | |
{ | |
"id":14, | |
"name":"rs1800562", | |
"geneCode":"HFE", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0027567195037904915 | |
}, | |
{ | |
"id":16, | |
"name":"rs1801253", | |
"geneCode":"ADRB1", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0027567195037904915 | |
}, | |
{ | |
"id":25, | |
"name":"rs429358", | |
"geneCode":"APOE", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0027567195037904915 | |
}, | |
{ | |
"id":29, | |
"name":"rs591058", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0027567195037904915 | |
}, | |
{ | |
"id":30, | |
"name":"rs679620", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0027567195037904915 | |
}, | |
{ | |
"id":33, | |
"name":"rs7412", | |
"geneCode":"APOE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0027567195037904915 | |
}, | |
{ | |
"id":13, | |
"name":"rs1800012", | |
"geneCode":"COL1A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0020675396278428686 | |
}, | |
{ | |
"id":3, | |
"name":"rs1143634", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0013783597518952457 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0013783597518952457 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0013783597518952457 | |
}, | |
{ | |
"id":9, | |
"name":"rs16944", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0013783597518952457 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0013783597518952457 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0013783597518952457 | |
}, | |
{ | |
"id":19, | |
"name":"rs2073711", | |
"geneCode":"CILP", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0013783597518952457 | |
}, | |
{ | |
"id":28, | |
"name":"rs5443", | |
"geneCode":"GNB3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0013783597518952457 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0006891798759476229 | |
}, | |
{ | |
"id":24, | |
"name":"rs3196378", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0006891798759476229 | |
} | |
], | |
"distributions":null | |
}, | |
{ | |
"id":1, | |
"code":"power", | |
"percentile":6, | |
"score":6.005, | |
"normalizedScore":52.72168568920106, | |
"type":"category", | |
"children":[ | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.256804214223003 | |
}, | |
{ | |
"id":32, | |
"name":"rs699", | |
"geneCode":"AGT", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.17120280948200198 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.12291483757682194 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.11940298507462702 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.1158911325724321 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.05706760316066732 | |
}, | |
{ | |
"id":2, | |
"name":"rs10887741", | |
"geneCode":"PAPSS2", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.01755926251097456 | |
}, | |
{ | |
"id":6, | |
"name":"rs12612420", | |
"geneCode":"SPATS2L", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.01755926251097456 | |
}, | |
{ | |
"id":34, | |
"name":"rs8097348", | |
"geneCode":"C18orf2", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.01755926251097456 | |
}, | |
{ | |
"id":21, | |
"name":"rs2253206", | |
"geneCode":"CREB1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.014047410008779649 | |
}, | |
{ | |
"id":29, | |
"name":"rs591058", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.00877963125548728 | |
}, | |
{ | |
"id":30, | |
"name":"rs679620", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.00877963125548728 | |
}, | |
{ | |
"id":13, | |
"name":"rs1800012", | |
"geneCode":"COL1A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.006584723441615461 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.00438981562774364 | |
}, | |
{ | |
"id":19, | |
"name":"rs2073711", | |
"geneCode":"CILP", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.00438981562774364 | |
}, | |
{ | |
"id":3, | |
"name":"rs1143634", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.003511852502194912 | |
}, | |
{ | |
"id":9, | |
"name":"rs16944", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.003511852502194912 | |
}, | |
{ | |
"id":18, | |
"name":"rs2016520", | |
"geneCode":"PPARD", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.003511852502194912 | |
}, | |
{ | |
"id":20, | |
"name":"rs211302", | |
"geneCode":"KIF5B", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.003511852502194912 | |
}, | |
{ | |
"id":22, | |
"name":"rs2267668", | |
"geneCode":"PPARD", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.003511852502194912 | |
}, | |
{ | |
"id":23, | |
"name":"rs2402970", | |
"geneCode":"NRF1", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.003511852502194912 | |
}, | |
{ | |
"id":31, | |
"name":"rs6949152", | |
"geneCode":"NRF1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.003511852502194912 | |
}, | |
{ | |
"id":35, | |
"name":"rs8192678", | |
"geneCode":"PPARGC1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.003511852502194912 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.002633889376646184 | |
}, | |
{ | |
"id":26, | |
"name":"rs4994", | |
"geneCode":"ADRB3", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.002633889376646184 | |
}, | |
{ | |
"id":24, | |
"name":"rs3196378", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.00219490781387182 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.001755926251097456 | |
}, | |
{ | |
"id":5, | |
"name":"rs1208", | |
"geneCode":"NAT2", | |
"snpValue":"--", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.001755926251097456 | |
}, | |
{ | |
"id":8, | |
"name":"rs16139", | |
"geneCode":"NPY", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.001755926251097456 | |
}, | |
{ | |
"id":11, | |
"name":"rs1799722", | |
"geneCode":"BDKRB2", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.001755926251097456 | |
}, | |
{ | |
"id":12, | |
"name":"rs1799945", | |
"geneCode":"HFE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.001755926251097456 | |
}, | |
{ | |
"id":14, | |
"name":"rs1800562", | |
"geneCode":"HFE", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.001755926251097456 | |
}, | |
{ | |
"id":16, | |
"name":"rs1801253", | |
"geneCode":"ADRB1", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.001755926251097456 | |
}, | |
{ | |
"id":25, | |
"name":"rs429358", | |
"geneCode":"APOE", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.001755926251097456 | |
}, | |
{ | |
"id":27, | |
"name":"rs670", | |
"geneCode":"APOA1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.001755926251097456 | |
}, | |
{ | |
"id":33, | |
"name":"rs7412", | |
"geneCode":"APOE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.001755926251097456 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.000877963125548728 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.000877963125548728 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.000877963125548728 | |
}, | |
{ | |
"id":28, | |
"name":"rs5443", | |
"geneCode":"GNB3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.000877963125548728 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.000438981562774364 | |
} | |
], | |
"distributions":null | |
}, | |
{ | |
"id":2, | |
"code":"anaerobic_capacity", | |
"percentile":35, | |
"score":3.830000000000001, | |
"normalizedScore":55.06829618979153, | |
"type":"category", | |
"children":[ | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.1581595974119339 | |
}, | |
{ | |
"id":5, | |
"name":"rs1208", | |
"geneCode":"NAT2", | |
"snpValue":"--", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.14378145219266716 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.04888569374550683 | |
}, | |
{ | |
"id":26, | |
"name":"rs4994", | |
"geneCode":"ADRB3", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.04313443565780015 | |
}, | |
{ | |
"id":21, | |
"name":"rs2253206", | |
"geneCode":"CREB1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.03594536304816679 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.03235082674335011 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.028756290438533436 | |
}, | |
{ | |
"id":2, | |
"name":"rs10887741", | |
"geneCode":"PAPSS2", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.028756290438533436 | |
}, | |
{ | |
"id":6, | |
"name":"rs12612420", | |
"geneCode":"SPATS2L", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.028756290438533436 | |
}, | |
{ | |
"id":11, | |
"name":"rs1799722", | |
"geneCode":"BDKRB2", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.028756290438533436 | |
}, | |
{ | |
"id":12, | |
"name":"rs1799945", | |
"geneCode":"HFE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.028756290438533436 | |
}, | |
{ | |
"id":14, | |
"name":"rs1800562", | |
"geneCode":"HFE", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.028756290438533436 | |
}, | |
{ | |
"id":34, | |
"name":"rs8097348", | |
"geneCode":"C18orf2", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.028756290438533436 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.02588066139468009 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.023005032350826748 | |
}, | |
{ | |
"id":18, | |
"name":"rs2016520", | |
"geneCode":"PPARD", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.023005032350826748 | |
}, | |
{ | |
"id":22, | |
"name":"rs2267668", | |
"geneCode":"PPARD", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.023005032350826748 | |
}, | |
{ | |
"id":35, | |
"name":"rs8192678", | |
"geneCode":"PPARGC1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.023005032350826748 | |
}, | |
{ | |
"id":32, | |
"name":"rs699", | |
"geneCode":"AGT", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.021567217828900077 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.014378145219266718 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.014378145219266718 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.014378145219266718 | |
}, | |
{ | |
"id":20, | |
"name":"rs211302", | |
"geneCode":"KIF5B", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.014378145219266718 | |
}, | |
{ | |
"id":23, | |
"name":"rs2402970", | |
"geneCode":"NRF1", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.014378145219266718 | |
}, | |
{ | |
"id":28, | |
"name":"rs5443", | |
"geneCode":"GNB3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.014378145219266718 | |
}, | |
{ | |
"id":31, | |
"name":"rs6949152", | |
"geneCode":"NRF1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.014378145219266718 | |
}, | |
{ | |
"id":8, | |
"name":"rs16139", | |
"geneCode":"NPY", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.011502516175413374 | |
}, | |
{ | |
"id":27, | |
"name":"rs670", | |
"geneCode":"APOA1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.011502516175413374 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.007189072609633359 | |
}, | |
{ | |
"id":3, | |
"name":"rs1143634", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.007189072609633359 | |
}, | |
{ | |
"id":9, | |
"name":"rs16944", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.007189072609633359 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.007189072609633359 | |
}, | |
{ | |
"id":16, | |
"name":"rs1801253", | |
"geneCode":"ADRB1", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.007189072609633359 | |
}, | |
{ | |
"id":25, | |
"name":"rs429358", | |
"geneCode":"APOE", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.007189072609633359 | |
}, | |
{ | |
"id":33, | |
"name":"rs7412", | |
"geneCode":"APOE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.007189072609633359 | |
}, | |
{ | |
"id":29, | |
"name":"rs591058", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.005751258087706687 | |
}, | |
{ | |
"id":30, | |
"name":"rs679620", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.005751258087706687 | |
}, | |
{ | |
"id":13, | |
"name":"rs1800012", | |
"geneCode":"COL1A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.004313443565780015 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0028756290438533435 | |
}, | |
{ | |
"id":19, | |
"name":"rs2073711", | |
"geneCode":"CILP", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0028756290438533435 | |
}, | |
{ | |
"id":24, | |
"name":"rs3196378", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0014378145219266717 | |
} | |
], | |
"distributions":null | |
}, | |
{ | |
"id":3, | |
"code":"endurance", | |
"percentile":16, | |
"score":5.235, | |
"normalizedScore":39.87052551408988, | |
"type":"category", | |
"children":[ | |
{ | |
"id":26, | |
"name":"rs4994", | |
"geneCode":"ADRB3", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.1256664127951257 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.08377760853008379 | |
}, | |
{ | |
"id":11, | |
"name":"rs1799722", | |
"geneCode":"BDKRB2", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.08377760853008379 | |
}, | |
{ | |
"id":12, | |
"name":"rs1799945", | |
"geneCode":"HFE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.08377760853008379 | |
}, | |
{ | |
"id":14, | |
"name":"rs1800562", | |
"geneCode":"HFE", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.08377760853008379 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.04950495049504951 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.04188880426504189 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.04188880426504189 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.04188880426504189 | |
}, | |
{ | |
"id":28, | |
"name":"rs5443", | |
"geneCode":"GNB3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.04188880426504189 | |
}, | |
{ | |
"id":21, | |
"name":"rs2253206", | |
"geneCode":"CREB1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.03655750190403656 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.027418126428027424 | |
}, | |
{ | |
"id":20, | |
"name":"rs211302", | |
"geneCode":"KIF5B", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.021325209444021328 | |
}, | |
{ | |
"id":23, | |
"name":"rs2402970", | |
"geneCode":"NRF1", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.021325209444021328 | |
}, | |
{ | |
"id":31, | |
"name":"rs6949152", | |
"geneCode":"NRF1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.021325209444021328 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.020944402132520946 | |
}, | |
{ | |
"id":18, | |
"name":"rs2016520", | |
"geneCode":"PPARD", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.015232292460015234 | |
}, | |
{ | |
"id":22, | |
"name":"rs2267668", | |
"geneCode":"PPARD", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.015232292460015234 | |
}, | |
{ | |
"id":35, | |
"name":"rs8192678", | |
"geneCode":"PPARGC1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.015232292460015234 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.012185833968012188 | |
}, | |
{ | |
"id":16, | |
"name":"rs1801253", | |
"geneCode":"ADRB1", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.010662604722010664 | |
}, | |
{ | |
"id":25, | |
"name":"rs429358", | |
"geneCode":"APOE", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.010662604722010664 | |
}, | |
{ | |
"id":33, | |
"name":"rs7412", | |
"geneCode":"APOE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.010662604722010664 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.010281797410510283 | |
}, | |
{ | |
"id":2, | |
"name":"rs10887741", | |
"geneCode":"PAPSS2", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.00913937547600914 | |
}, | |
{ | |
"id":6, | |
"name":"rs12612420", | |
"geneCode":"SPATS2L", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.00913937547600914 | |
}, | |
{ | |
"id":34, | |
"name":"rs8097348", | |
"geneCode":"C18orf2", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.00913937547600914 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.007616146230007617 | |
}, | |
{ | |
"id":8, | |
"name":"rs16139", | |
"geneCode":"NPY", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.007616146230007617 | |
}, | |
{ | |
"id":27, | |
"name":"rs670", | |
"geneCode":"APOA1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.007616146230007617 | |
}, | |
{ | |
"id":32, | |
"name":"rs699", | |
"geneCode":"AGT", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.006854531607006855 | |
}, | |
{ | |
"id":5, | |
"name":"rs1208", | |
"geneCode":"NAT2", | |
"snpValue":"--", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.003046458492003047 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.002284843869002285 | |
}, | |
{ | |
"id":3, | |
"name":"rs1143634", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.002284843869002285 | |
}, | |
{ | |
"id":9, | |
"name":"rs16944", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.002284843869002285 | |
}, | |
{ | |
"id":29, | |
"name":"rs591058", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0015232292460015235 | |
}, | |
{ | |
"id":30, | |
"name":"rs679620", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0015232292460015235 | |
}, | |
{ | |
"id":13, | |
"name":"rs1800012", | |
"geneCode":"COL1A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0011424219345011425 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0007616146230007617 | |
}, | |
{ | |
"id":19, | |
"name":"rs2073711", | |
"geneCode":"CILP", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0007616146230007617 | |
}, | |
{ | |
"id":24, | |
"name":"rs3196378", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.00038080731150038087 | |
} | |
], | |
"distributions":null | |
}, | |
{ | |
"id":4, | |
"code":"metabolic_efficiency", | |
"percentile":62, | |
"score":9.44, | |
"normalizedScore":81.59031979256699, | |
"type":"category", | |
"children":[ | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.1979256698357824 | |
}, | |
{ | |
"id":18, | |
"name":"rs2016520", | |
"geneCode":"PPARD", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.12964563526361292 | |
}, | |
{ | |
"id":22, | |
"name":"rs2267668", | |
"geneCode":"PPARD", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.12964563526361292 | |
}, | |
{ | |
"id":35, | |
"name":"rs8192678", | |
"geneCode":"PPARGC1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.12964563526361292 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.06655142610198796 | |
}, | |
{ | |
"id":8, | |
"name":"rs16139", | |
"geneCode":"NPY", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.06482281763180646 | |
}, | |
{ | |
"id":27, | |
"name":"rs670", | |
"geneCode":"APOA1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.06482281763180646 | |
}, | |
{ | |
"id":21, | |
"name":"rs2253206", | |
"geneCode":"CREB1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.03716508210890237 | |
}, | |
{ | |
"id":20, | |
"name":"rs211302", | |
"geneCode":"KIF5B", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.02420051858254108 | |
}, | |
{ | |
"id":23, | |
"name":"rs2402970", | |
"geneCode":"NRF1", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.02420051858254108 | |
}, | |
{ | |
"id":31, | |
"name":"rs6949152", | |
"geneCode":"NRF1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.02420051858254108 | |
}, | |
{ | |
"id":16, | |
"name":"rs1801253", | |
"geneCode":"ADRB1", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.01210025929127054 | |
}, | |
{ | |
"id":25, | |
"name":"rs429358", | |
"geneCode":"APOE", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.01210025929127054 | |
}, | |
{ | |
"id":33, | |
"name":"rs7412", | |
"geneCode":"APOE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.01210025929127054 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.007778738115816774 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.006914433880726022 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.005185825410544516 | |
}, | |
{ | |
"id":26, | |
"name":"rs4994", | |
"geneCode":"ADRB3", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.005185825410544516 | |
}, | |
{ | |
"id":32, | |
"name":"rs699", | |
"geneCode":"AGT", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.005185825410544516 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.003457216940363011 | |
}, | |
{ | |
"id":5, | |
"name":"rs1208", | |
"geneCode":"NAT2", | |
"snpValue":"--", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.003457216940363011 | |
}, | |
{ | |
"id":11, | |
"name":"rs1799722", | |
"geneCode":"BDKRB2", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.003457216940363011 | |
}, | |
{ | |
"id":12, | |
"name":"rs1799945", | |
"geneCode":"HFE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.003457216940363011 | |
}, | |
{ | |
"id":14, | |
"name":"rs1800562", | |
"geneCode":"HFE", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.003457216940363011 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0017286084701815055 | |
}, | |
{ | |
"id":2, | |
"name":"rs10887741", | |
"geneCode":"PAPSS2", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0017286084701815055 | |
}, | |
{ | |
"id":6, | |
"name":"rs12612420", | |
"geneCode":"SPATS2L", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0017286084701815055 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0017286084701815055 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0017286084701815055 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0017286084701815055 | |
}, | |
{ | |
"id":28, | |
"name":"rs5443", | |
"geneCode":"GNB3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0017286084701815055 | |
}, | |
{ | |
"id":29, | |
"name":"rs591058", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0017286084701815055 | |
}, | |
{ | |
"id":30, | |
"name":"rs679620", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0017286084701815055 | |
}, | |
{ | |
"id":34, | |
"name":"rs8097348", | |
"geneCode":"C18orf2", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0017286084701815055 | |
}, | |
{ | |
"id":13, | |
"name":"rs1800012", | |
"geneCode":"COL1A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.001296456352636129 | |
}, | |
{ | |
"id":3, | |
"name":"rs1143634", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0008643042350907527 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0008643042350907527 | |
}, | |
{ | |
"id":9, | |
"name":"rs16944", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0008643042350907527 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0008643042350907527 | |
}, | |
{ | |
"id":19, | |
"name":"rs2073711", | |
"geneCode":"CILP", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0008643042350907527 | |
}, | |
{ | |
"id":24, | |
"name":"rs3196378", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.00043215211754537636 | |
} | |
], | |
"distributions":null | |
}, | |
{ | |
"id":5, | |
"code":"recovery", | |
"percentile":68, | |
"score":2.825, | |
"normalizedScore":81.06169296987088, | |
"type":"category", | |
"children":[ | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.39024390243902446 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.06886657101865137 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.06312769010043043 | |
}, | |
{ | |
"id":5, | |
"name":"rs1208", | |
"geneCode":"NAT2", | |
"snpValue":"--", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.05738880918220948 | |
}, | |
{ | |
"id":18, | |
"name":"rs2016520", | |
"geneCode":"PPARD", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.03443328550932569 | |
}, | |
{ | |
"id":22, | |
"name":"rs2267668", | |
"geneCode":"PPARD", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.03443328550932569 | |
}, | |
{ | |
"id":35, | |
"name":"rs8192678", | |
"geneCode":"PPARGC1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.03443328550932569 | |
}, | |
{ | |
"id":3, | |
"name":"rs1143634", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.02869440459110474 | |
}, | |
{ | |
"id":9, | |
"name":"rs16944", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.02869440459110474 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.025824964131994265 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.020086083213773316 | |
}, | |
{ | |
"id":21, | |
"name":"rs2253206", | |
"geneCode":"CREB1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.020086083213773316 | |
}, | |
{ | |
"id":8, | |
"name":"rs16139", | |
"geneCode":"NPY", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.017216642754662843 | |
}, | |
{ | |
"id":27, | |
"name":"rs670", | |
"geneCode":"APOA1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.017216642754662843 | |
}, | |
{ | |
"id":32, | |
"name":"rs699", | |
"geneCode":"AGT", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.017216642754662843 | |
}, | |
{ | |
"id":20, | |
"name":"rs211302", | |
"geneCode":"KIF5B", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.011477761836441896 | |
}, | |
{ | |
"id":23, | |
"name":"rs2402970", | |
"geneCode":"NRF1", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.011477761836441896 | |
}, | |
{ | |
"id":31, | |
"name":"rs6949152", | |
"geneCode":"NRF1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.011477761836441896 | |
}, | |
{ | |
"id":26, | |
"name":"rs4994", | |
"geneCode":"ADRB3", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.008608321377331422 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":2, | |
"name":"rs10887741", | |
"geneCode":"PAPSS2", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":6, | |
"name":"rs12612420", | |
"geneCode":"SPATS2L", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":11, | |
"name":"rs1799722", | |
"geneCode":"BDKRB2", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":12, | |
"name":"rs1799945", | |
"geneCode":"HFE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":14, | |
"name":"rs1800562", | |
"geneCode":"HFE", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":16, | |
"name":"rs1801253", | |
"geneCode":"ADRB1", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":25, | |
"name":"rs429358", | |
"geneCode":"APOE", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":29, | |
"name":"rs591058", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":30, | |
"name":"rs679620", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":33, | |
"name":"rs7412", | |
"geneCode":"APOE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":34, | |
"name":"rs8097348", | |
"geneCode":"C18orf2", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.005738880918220948 | |
}, | |
{ | |
"id":13, | |
"name":"rs1800012", | |
"geneCode":"COL1A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.004304160688665711 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.002869440459110474 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.002869440459110474 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.002869440459110474 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.002869440459110474 | |
}, | |
{ | |
"id":19, | |
"name":"rs2073711", | |
"geneCode":"CILP", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.002869440459110474 | |
}, | |
{ | |
"id":28, | |
"name":"rs5443", | |
"geneCode":"GNB3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.002869440459110474 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.001434720229555237 | |
}, | |
{ | |
"id":24, | |
"name":"rs3196378", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.001434720229555237 | |
} | |
], | |
"distributions":null | |
}, | |
{ | |
"id":7, | |
"code":"injury_protection", | |
"percentile":68, | |
"score":3.2850000000000006, | |
"normalizedScore":73.57222844344906, | |
"type":"category", | |
"children":[ | |
{ | |
"id":29, | |
"name":"rs591058", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.17917133258678625 | |
}, | |
{ | |
"id":30, | |
"name":"rs679620", | |
"geneCode":"MMP3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.17917133258678625 | |
}, | |
{ | |
"id":13, | |
"name":"rs1800012", | |
"geneCode":"COL1A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.1343784994400897 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.08958566629339312 | |
}, | |
{ | |
"id":19, | |
"name":"rs2073711", | |
"geneCode":"CILP", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.08958566629339312 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.05375139977603587 | |
}, | |
{ | |
"id":24, | |
"name":"rs3196378", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.04479283314669656 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.02239641657334828 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.02015677491601345 | |
}, | |
{ | |
"id":21, | |
"name":"rs2253206", | |
"geneCode":"CREB1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.015677491601343792 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.013437849944008966 | |
}, | |
{ | |
"id":32, | |
"name":"rs699", | |
"geneCode":"AGT", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.013437849944008966 | |
}, | |
{ | |
"id":18, | |
"name":"rs2016520", | |
"geneCode":"PPARD", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.008958566629339311 | |
}, | |
{ | |
"id":20, | |
"name":"rs211302", | |
"geneCode":"KIF5B", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.008958566629339311 | |
}, | |
{ | |
"id":22, | |
"name":"rs2267668", | |
"geneCode":"PPARD", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.008958566629339311 | |
}, | |
{ | |
"id":23, | |
"name":"rs2402970", | |
"geneCode":"NRF1", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.008958566629339311 | |
}, | |
{ | |
"id":31, | |
"name":"rs6949152", | |
"geneCode":"NRF1", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.008958566629339311 | |
}, | |
{ | |
"id":35, | |
"name":"rs8192678", | |
"geneCode":"PPARGC1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.008958566629339311 | |
}, | |
{ | |
"id":4, | |
"name":"rs11549465", | |
"geneCode":"HIF1A", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.006718924972004483 | |
}, | |
{ | |
"id":26, | |
"name":"rs4994", | |
"geneCode":"ADRB3", | |
"snpValue":"AA", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.006718924972004483 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":1, | |
"name":"rs1042713", | |
"geneCode":"ADRB2", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":2, | |
"name":"rs10887741", | |
"geneCode":"PAPSS2", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":5, | |
"name":"rs1208", | |
"geneCode":"NAT2", | |
"snpValue":"--", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":6, | |
"name":"rs12612420", | |
"geneCode":"SPATS2L", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":8, | |
"name":"rs16139", | |
"geneCode":"NPY", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":11, | |
"name":"rs1799722", | |
"geneCode":"BDKRB2", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":12, | |
"name":"rs1799945", | |
"geneCode":"HFE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":14, | |
"name":"rs1800562", | |
"geneCode":"HFE", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":16, | |
"name":"rs1801253", | |
"geneCode":"ADRB1", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":25, | |
"name":"rs429358", | |
"geneCode":"APOE", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":27, | |
"name":"rs670", | |
"geneCode":"APOA1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":33, | |
"name":"rs7412", | |
"geneCode":"APOE", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":34, | |
"name":"rs8097348", | |
"geneCode":"C18orf2", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0044792833146696555 | |
}, | |
{ | |
"id":3, | |
"name":"rs1143634", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0022396416573348277 | |
}, | |
{ | |
"id":7, | |
"name":"rs12722", | |
"geneCode":"COL5A1", | |
"snpValue":"CC", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0022396416573348277 | |
}, | |
{ | |
"id":9, | |
"name":"rs16944", | |
"geneCode":"IL1B", | |
"snpValue":"AG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0022396416573348277 | |
}, | |
{ | |
"id":10, | |
"name":"rs17602729", | |
"geneCode":"AMPD1", | |
"snpValue":"GG", | |
"type":"snp", | |
"alleleMatchingFactor":0, | |
"weight":0.0022396416573348277 | |
}, | |
{ | |
"id":17, | |
"name":"rs1815739", | |
"geneCode":"ACTN3", | |
"snpValue":"TT", | |
"type":"snp", | |
"alleleMatchingFactor":2, | |
"weight":0.0022396416573348277 | |
}, | |
{ | |
"id":28, | |
"name":"rs5443", | |
"geneCode":"GNB3", | |
"snpValue":"CT", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0022396416573348277 | |
}, | |
{ | |
"id":15, | |
"name":"rs1800795", | |
"geneCode":"IL6", | |
"snpValue":"CG", | |
"type":"snp", | |
"alleleMatchingFactor":1, | |
"weight":0.0011198208286674139 | |
} | |
], | |
"distributions":null | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var margin = {top: 20, right: 0, bottom: 0, left: 0}, | |
width = 820, | |
height = 700 - margin.top - margin.bottom, | |
formatNumber = d3.format(",d"), | |
transitioning; | |
/* create x and y scales */ | |
var x = d3.scale.linear() | |
.domain([0, width]) | |
.range([0, width]); | |
var y = d3.scale.linear() | |
.domain([0, height]) | |
.range([0, height]); | |
var treemap = d3.layout.treemap() | |
.value(function(d) {if (d.type === "category") {return Math.round(d.normalizedScore);} | |
else {return d.weight;} | |
}) | |
.children(function(d, depth) { return depth ? null : d.children; }) | |
.sort(function(a, b) { return a.weight - b.weight; }) //this can sort all the tiles based on something. Currently it sums all the 'value's of the leaf nodes and then sort the parent based on that. | |
.ratio(height / width * 0.5 * (1 + Math.sqrt(5))) | |
.round(false); | |
/* create svg */ | |
var svg = d3.select("svg").append("svg") | |
.attr("width", width + margin.left + margin.right) | |
.attr("height", height + margin.bottom + margin.top) | |
.style("margin-left", -margin.left + "px") | |
.style("margin.right", -margin.right + "px") | |
.append("g") | |
.attr("transform", "translate(" + margin.left + "," + margin.top + ")") | |
.style("shape-rendering", "crispEdges"); | |
var color = d3.scale.category20c(); | |
var grandparent = svg.append("g") | |
.attr("class", "grandparent"); | |
grandparent.append("rect") | |
.attr("y", -margin.top) | |
.attr("width", width) | |
.attr("height", margin.top); | |
grandparent.append("text") | |
.attr("x", 6) | |
.attr("y", 6 - margin.top) | |
.attr("dy", ".75em"); | |
root = tributary.genedata; | |
initialize(root); | |
accumulate(root); | |
layout(root); | |
display(root); | |
function initialize(root) { | |
root.x = root.y = 0; | |
root.dx = width; | |
root.dy = height; | |
root.depth = 0; | |
} | |
// Aggregate the values for internal nodes. This is normally done by the | |
// treemap layout, but not here because of the custom implementation. | |
function accumulate(d) { | |
return d.children | |
? d.value = d.children.reduce(function(p, v) { return p + accumulate(v); }, 0) | |
: d.value; | |
} | |
// Compute the treemap layout recursively such that each group of siblings | |
// uses the same size (1×1) rather than the dimensions of the parent cell. | |
// This optimizes the layout for the current zoom state. Note that a wrapper | |
// object is created for the parent node for each group of siblings so that | |
// the parent’s dimensions are not discarded as we recurse. Since each group | |
// of sibling was laid out in 1×1, we must rescale to fit using absolute | |
// coordinates. This lets us use a viewport to zoom. | |
function layout(d) { | |
if (d.children) { | |
treemap.nodes({children: d.children}); | |
d.children.forEach(function(c) { | |
c.x = d.x + c.x * d.dx; | |
c.y = d.y + c.y * d.dy; | |
c.dx *= d.dx; | |
c.dy *= d.dy; | |
c.parent = d; | |
layout(c); | |
}); | |
} | |
} | |
/* display shows the treemap and writes the embedded transition function */ | |
function display(d) { | |
/* create grandparent bar at top */ | |
grandparent | |
.datum(d.parent) | |
.on("click", transition) | |
.select("text") | |
.text(name(d)); | |
var g1 = svg.insert("g", ".grandparent") | |
.datum(d) | |
.attr("class", "depth"); | |
/* add in data */ | |
var g = g1.selectAll("g") | |
.data(d.children) | |
.enter().append("g"); | |
/* transition on child click */ | |
g.filter(function(d) { return d.children; }) | |
.classed("children", true) | |
.on("click", transition); | |
/* write children rectangles */ | |
g.selectAll(".child") | |
.data(function(d) { return d.children || [d]; }) | |
.enter().append("rect") | |
.attr("class", "child") | |
.call(rect) | |
.append("title") | |
.text(function(d) { return d.name + " " + formatNumber(d.size); }); | |
/* write parent rectangle */ | |
g.append("rect") | |
.attr("class", "parent") | |
.call(rect) | |
/* open new window based on the json's URL value for leaf nodes */ | |
/* Chrome displays this on top */ | |
.on("click", function(d) { | |
if(!d.children){ | |
window.open(d.url); | |
} | |
}) | |
.append("title") | |
.text(function(d) { return d.name + " " + formatNumber(d.size); }); /*should be d.value*/ | |
/* Adding a foreign object instead of a text object, allows for text wrapping */ | |
g.append("foreignObject") | |
.call(rect) | |
/* open new window based on the json's URL value for leaf nodes */ | |
/* Firefox displays this on top */ | |
.on("click", function(d) { | |
if(!d.children){ | |
window.open(d.url); | |
} | |
}) | |
.attr("class","foreignobj") | |
.append("xhtml:div") | |
.attr("dy", ".75em") | |
.html(function(d) { return d.name; | |
}) | |
.attr("class","textdiv"); //textdiv class allows us to style the text easily with CSS | |
/* create transition function for transitions */ | |
function transition(d) { | |
if (transitioning || !d) return; | |
transitioning = true; | |
var g2 = display(d), | |
t1 = g1.transition().duration(750), | |
t2 = g2.transition().duration(750); | |
// Update the domain only after entering new elements. | |
x.domain([d.x, d.x + d.dx]); | |
y.domain([d.y, d.y + d.dy]); | |
// Enable anti-aliasing during the transition. | |
svg.style("shape-rendering", null); | |
// Draw child nodes on top of parent nodes. | |
svg.selectAll(".depth").sort(function(a, b) { return a.depth - b.depth; }); | |
// Fade-in entering text. | |
g2.selectAll("text").style("fill-opacity", 0); | |
g2.selectAll("foreignObject div").style("display", "none"); /*added*/ | |
// Transition to the new view. | |
t1.selectAll("text").call(text).style("fill-opacity", 0); | |
t2.selectAll("text").call(text).style("fill-opacity", 1); | |
t1.selectAll("rect").call(rect); | |
t2.selectAll("rect").call(rect); | |
t1.selectAll(".textdiv").style("display", "none"); /* added */ | |
t1.selectAll(".foreignobj").call(foreign); /* added */ | |
t2.selectAll(".textdiv").style("display", "block"); /* added */ | |
t2.selectAll(".foreignobj").call(foreign); /* added */ | |
// Remove the old node when the transition is finished. | |
t1.remove().each("end", function() { | |
svg.style("shape-rendering", "crispEdges"); | |
transitioning = false; | |
}); | |
}//endfunc transition | |
return g; | |
}//endfunc display | |
function text(text) { | |
text.attr("x", function(d) { return x(d.x) + 6; }) | |
.attr("y", function(d) { return y(d.y) + 6; }); | |
} | |
function rect(rect) { | |
rect.attr("x", function(d) { return x(d.x); }) | |
.attr("y", function(d) { return y(d.y); }) | |
.attr("width", function(d) { return x(d.x + d.dx) - x(d.x); }) | |
.attr("height", function(d) { return y(d.y + d.dy) - y(d.y); }) | |
.style("background", function(d) { return d.parent ? color(d.name) : null; }); | |
} | |
function foreign(foreign){ /* added */ | |
foreign.attr("x", function(d) { return x(d.x); }) | |
.attr("y", function(d) { return y(d.y); }) | |
.attr("width", function(d) { return x(d.x + d.dx) - x(d.x); }) | |
.attr("height", function(d) { return y(d.y + d.dy) - y(d.y); }); | |
} | |
function name(d) { | |
return d.parent | |
? name(d.parent) + "." + d.name | |
: d.name; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rect { | |
stroke: black; | |
stroke-width: 3px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment