\begin{center} \begin{tabular}{cccc} & & \multicolumn{2}{c}{Sample 1} \\ & & present & absent \\ Sample 2 & present & $a$ & $b$ \\ & absent & $c$ & $d$ \\ \end{tabular} \end{center}