Latexテーブル設計(未完待機)

3660 ワード

% 	\begin{table}
%    \centering
%    \caption{Composition of Training Dataset and Independent Validation Dataset for the Three Databases}\label{datainfo}
%    \begin{tabular}{|c|c|c|c|c|c|c|}
%    	\hline
%      	\multirow{2}{*}{Dataset Index} &\multicolumn{3}{|c|}{Training Dataset} &\multicolumn{3}{|c|}{Independent Validation Dataset}\\ 
%      	\cline{2-7}
%	      			& Name  	& Nseq   		& (Nposi, Nnega)\footnote{A footnote}		& Name	& Nseq			&(Nposi, Nnega)  \\ 
%      	\hline 
%      	1    		& & 168   		& (3104, 59226)  		& - 	& -				& - \\ 
%      	\hline 
%      	2	  		& ATP227    & 227   		& (3393, 80409)  		& ATP17	& 17     		& (248, 6974)  \\ 
%	  	\hline 
%	  	3 			& ATP221    & 221   		& (3021, 72334)  		& ATP59	& 50     		& (647, 16639) \\
%      	\hline
%	\end{tabular}
%    \end{table}
	
%\usepackage{threeparttable} %        
	\begin{table}
	\centering
	\begin{threeparttable}
		\centering
	    \caption{Composition of Training Dataset and Independent Validation Dataset for the Three Databases}\label{datainfo}
	    \begin{tabular}{|c|c|c|c|c|c|c|}
	    	\hline
	      	\multirow{2}{*}{Dataset Index} &\multicolumn{3}{|c|}{Training Dataset} &\multicolumn{3}{|c|}{Independent Validation Dataset}\\ 
	      	\cline{2-7}
		      			& Name  	& \textit{Nseq}\tnote{a}	& \textit{(Nposi, Nnega)}\tnote{b}	& Name	& \textit{Nseq}\tnote{a}	& \textit{(Nposi, Nnega)}\tnote{b}  \\ 
	      	\hline 
	      	1    		& ATP168    & 168   		& (3104, 59226)  			& - 	& -				& - \\ 
	      	\hline 
	      	2	  		& ATP227    & 227   		& (3393, 80409)  			& ATP17	& 17     		& (248, 6974)  \\ 
		  	\hline 
		  	3 			& ATP221    & 221   		& (3021, 72334)  			& ATP59	& 50     		& (647, 16639) \\
	      	\hline
		\end{tabular}
		\begin{tablenotes}\footnotesize
		\item[a] \textit{Nseq} represents the number of protein sequences.
		\item[b] \textit{Nposi} and \textit{Nnega} in 2-tuple \textit{(Nposi, Nnega)} represent the numbers of positive (binding residues) and negative (non-binding residues) samples, respectively.
		\end{tablenotes}
		\end{threeparttable}
	\end{table}
%     ,      , \begin{table}     \begin{table*}
\begin{table*}
\centering
\begin{threeparttable}
\centering
   \caption{Composition of Training Dataset and Independent Validation Dataset for the Three Databases}\label{datainfo}
   \begin{tabular}{|c|c|c|c|c|c|c|c|}
    \hline
      \multirow{2}{*}{Dataset Index} &\multicolumn{3}{|c|}{Training Dataset} &\multicolumn{3}{|c|}{Independent Validation Dataset} & \multirow{2}{*}{Total No. of Sequences}\\ 
      \cline{2-7}
      & Name  & No. of Sequences& \textit{(Nposi, Nnega)}\tnote{a}& Name& No. of Sequences& \textit{(Nposi, Nnega)}\tnote{a} &  \\ 
      \hline 
      1    & ATP168    & 168  & (3104, 59226)  & -& -& - & 168\\ 
      \hline 
      2 & ATP227    & 227   & (3393, 80409)  & ATP17& 17     & (248, 6974) & 244  \\ 
  \hline 
  3 & ATP221    & 221   & (3021, 72334)  & ATP59& 50     & (647, 16639) & 271 \\
      \hline
\end{tabular}
\begin{tablenotes}\footnotesize
\item[a] \textit{Nposi} and \textit{Nnega} in 2-tuple \textit{(Nposi, Nnega)} represent the numbers of positive (binding residues) and negative (non-binding residues) samples, respectively.
\end{tablenotes}
\end{threeparttable}
\end{table*}