File: parser.socket.Rd

package info (click to toggle)
r-cran-seqinr 3.4-5-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,876 kB
  • sloc: ansic: 1,987; makefile: 14
file content (28 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\name{parser.socket}
\alias{parser.socket}

\title{Utility function to parse answers from an ACNUC server}
\description{
Answers from server looks like : "code=0&lrank=2&count=150513&type=SQ&locus=F".
}
\usage{
parser.socket(onelinefromserver, verbose = FALSE)
}
\arguments{
  \item{onelinefromserver}{a string}
  \item{verbose}{logical, if TRUE mode verbose is on}
}
\value{
A vector of mode character or NULL if \code{onelinefromserver} is NULL
or if its length is 0.
}
\references{
\code{citation("seqinr")}
}
\author{J.R. Lobry}
\seealso{\code{\link{choosebank}}, \code{\link{query}} }
\examples{
stopifnot(all(parser.socket("code=0&lrank=2&count=150513&type=SQ&locus=F") 
                                     == c("0", "2", "150513", "SQ", "F")))
}
\keyword{ utilities }