Learn R Programming

seqinr (version 3.3-3)

countfreelists: The number of free lists available and annotation lines in an ACNUC server

Description

Returns the number of free lists available list of names of annotation lines in the opened ACNUC database.

Usage

countfreelists(socket = autosocket()) cfl(socket = autosocket())

Arguments

socket
an object of class sockconn connecting to a remote ACNUC database (default is a socket to the last opened database).

Value

a list with the following 2 components:

References

http://doua.prabi.fr/databases/acnuc.html

citation("seqinr")

See Also

choosebank, query

Examples

Run this code
## Not run:  # Need internet connection
#   choosebank("emblTP")
#   (rescountfreelists <- countfreelists())
#   stopifnot(all(rescountfreelists$annotlines == 
#    c("ALL", "AC",  "PR",  "DT",  "KW",  "OS",  "OC",
#    "OG",  "RN",  "RC",  "RP",  "RX", "RG",  "RA",  "RT",  "RL",  "DR", 
#    "CC",  "AH",  "AS",  "FH",  "FT",  "CO",  "SQ", "SEQ")))
#   closebank()
#   ## End(Not run)

Run the code above in your browser using DataLab