Hi all,
i try to make a table like i send you here in attachement but my code failed, it seems to be an incompatibility
between tabu package and hhline.
My code:
Code: Select all
\definecolor{SGblue}{RGB}{0, 164, 196}\definecolor{SGblue}{RGB}{0, 164, 196}{\setlength\arrayrulewidth{0.8pt}\renewcommand{\arraystretch}{1.5} % Default value: 1\begin{table}[htbp]\centering\begin{tabu} to \textwidth {|X[3,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|X[1,c,m]|}\rowcolor{SGblue}\arrayrulecolor{white}{} & \multicolumn{12}{c}{\large\bf\textcolor{white}{DIFFERENCIATED STAGE}} \\\hhline{ ------------}\rowcolor{SGblue}%{} & \multicolumn{4}{|c!{\color{white}\vline}}{\large\bf\textcolor{white}{ECTODERM}} & \multicolumn{4}{|c!{\color{white}\vline}}{\large\bf\textcolor{white}{MESODERM}} & \multicolumn{4}{|c|}{\large\bf\textcolor{white}{ENDODERM}}\\{} & \multicolumn{4}{c|}{\large\bf\textcolor{white}{ECTODERM}} & \multicolumn{4}{c|}{\large\bf\textcolor{white}{MESODERM}} & \multicolumn{4}{c}{\large\bf\textcolor{white}{ENDODERM}} \\\rowcolor{SGblue}\hhline{ ------------}\multirow{-2}{*}{\textcolor{white}{\bf\textcolor{white}{\rule{0pt}{1em}Samples name\rule[-1em]{0pt}{1em}}}} & \bf\textcolor{white}{EN1} & \bf\textcolor{white}{MAP2} & \bf\textcolor{white}{NEFL} & \bf\textcolor{white}{PAX6} & \bf\textcolor{white}{AFP} &\bf\textcolor{white}{FOXA2} & \bf\textcolor{white}{SOX17} & \bf\textcolor{white}{SST} & \bf\textcolor{white}{CDH5} & \bf\textcolor{white}{HAND1} & \bf\textcolor{white}{MYOG} & \bf\textcolor{white}{TBXT} \\\arrayrulecolor{SGblue}\textbf{EB14} & \large\textbf{+} & \large\textbf{NS} & \large\textbf{+} & \large\textbf{+} & \large\textbf{+} & \large\textbf{NS} & \large\textbf{+} & \large\textbf{+} & \large\textbf{+} & \large\textbf{NS} & \large\textbf{+} & \large\textbf{+} \\\hline\textbf{HF11} & \large\textbf{+} & \large\textbf{NS} & \large\textbf{+} & \large\textbf{+} & \large\textbf{+} & \large\textbf{NS} & \large\textbf{+} & \large\textbf{+} & \large\textbf{+} & \large\textbf{NS} & \large\textbf{+} & \large\textbf{+} \\\hline\multicolumn{13}{|c|}{\textbf{\large{(NS)}} indicates non-significant expression, \textbf{\large{(+)}} represents overexpression, and \textbf{\large{(-)}} denotes underexpression.} \\\hline\end{tabu}\end{table}}
Thank you --