chosenGen(gene, chartgendata){
this.currentGen = gene;
$.each(this.currentGen.snps[0].genotypes, function(key, value) {
console.log(value.value, value.frequency);
chartgendata.labels = [value.value];
chartgendata.datasets[0].data = [value.frequency];
});
},