[Seqinr-commits] r1806 - www/src/mainmatter
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Jun 11 11:01:20 CEST 2014
Author: jeanlobry
Date: 2014-06-11 11:01:19 +0200 (Wed, 11 Jun 2014)
New Revision: 1806
Modified:
www/src/mainmatter/querylang.rnw
www/src/mainmatter/querylang.tex
Log:
NS and NK are now documented
Modified: www/src/mainmatter/querylang.rnw
===================================================================
--- www/src/mainmatter/querylang.rnw 2014-06-10 20:30:31 UTC (rev 1805)
+++ www/src/mainmatter/querylang.rnw 2014-06-11 09:01:19 UTC (rev 1806)
@@ -214,6 +214,32 @@
closebank()
@
+\subsection{\texttt{NS=taxon\_name}}
+
+This is used to get the number of taxon of given name, with the use of the at sign @ to
+substitute as a wildcard character for any zero or more characters
+possible here. For instance, we want to know how many taxon have \textit{sapiens} inside~:
+
+<<exampleNS,fig=F,eval=T>>=
+choosebank("emblTP")
+query("NSexample","NS=@sapiens@")
+NSexample
+closebank()
+@
+
+\subsection{\texttt{NK=keyword\_name}}
+
+This is used to get the number of keyword of given name, with the use of the at sign @ to
+substitute as a wildcard character for any zero or more characters
+possible here. For instance, we want to know how many keywords have \textit{sex} inside~:
+
+<<exampleNK,fig=F,eval=T>>=
+choosebank("emblTP")
+query("NKexample","NK=@sex@")
+NKexample
+closebank()
+@
+
\subsection{\texttt{Y=year} or \texttt{Y>year} or \texttt{Y<year}}
This is used to select sequences published in a given year (\texttt{Y=year}),
Modified: www/src/mainmatter/querylang.tex
===================================================================
--- www/src/mainmatter/querylang.tex 2014-06-10 20:30:31 UTC (rev 1805)
+++ www/src/mainmatter/querylang.tex 2014-06-11 09:01:19 UTC (rev 1806)
@@ -495,6 +495,46 @@
\end{Sinput}
\end{Schunk}
+\subsection{\texttt{NS=taxon\_name}}
+
+This is used to get the number of taxon of given name, with the use of the at sign @ to
+substitute as a wildcard character for any zero or more characters
+possible here. For instance, we want to know how many taxon have \textit{sapiens} inside~:
+
+\begin{Schunk}
+\begin{Sinput}
+ choosebank("emblTP")
+ query("NSexample","NS=@sapiens@")
+ NSexample
+\end{Sinput}
+\begin{Soutput}
+26 SP for NS=@sapiens@
+\end{Soutput}
+\begin{Sinput}
+ closebank()
+\end{Sinput}
+\end{Schunk}
+
+\subsection{\texttt{NK=keyword\_name}}
+
+This is used to get the number of keyword of given name, with the use of the at sign @ to
+substitute as a wildcard character for any zero or more characters
+possible here. For instance, we want to know how many keywords have \textit{sex} inside~:
+
+\begin{Schunk}
+\begin{Sinput}
+ choosebank("emblTP")
+ query("NKexample","NK=@sex@")
+ NKexample
+\end{Sinput}
+\begin{Soutput}
+277 KW for NK=@sex@
+\end{Soutput}
+\begin{Sinput}
+ closebank()
+\end{Sinput}
+\end{Schunk}
+
\subsection{\texttt{Y=year} or \texttt{Y>year} or \texttt{Y<year}}
This is used to select sequences published in a given year (\texttt{Y=year}),
@@ -1189,7 +1229,7 @@
There were two compilation steps:
\begin{itemize}
- \item \Rlogo{} compilation time was: Fri Jun 6 21:34:45 2014
+ \item \Rlogo{} compilation time was: Wed Jun 11 10:58:16 2014
\item \LaTeX{} compilation time was: \today
\end{itemize}
More information about the Seqinr-commits
mailing list