CDC2 | 45 | liver |
PLK1 | 34.2 | heart |
MCM4 | 9 | kidney |
Modify your script such that the data is now stored according to the labels, so that you can access the data using those labels. For example, if your data structure is called %hash, you should be able to look up the data related the CDC2 gene like this:
$gene = 'CDC2'; my $expression_for_gene = $hash{$gene}{'expression'}; my $tissue_for_gene = $hash{$gene}{'tissue'};
gene | expression | tissue |
---|---|---|
CDC2 | 45 | liver |
PLK1 | 34.2 | heart |
MCM4 | 9 | kidney |
gene expression tissue MCM4 9 kidney