Create a script that stores the data in a hash of hashes, according to the labels (gene, expression, tissue), 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