fixes calculation for gene expression tests