Learn R Programming

seqinr (version 3.3-3)

getliststate: Asks for information about an ACNUC list of specified rank

Description

Reply gives the type of list, its name, the number of elements it contains, and, for sequence lists, says whether the list contains only parent seqs (locus=T).

Usage

getliststate(lrank, socket = autosocket()) gls(lrank, socket = autosocket()) gln(lrank, ...)

Arguments

lrank
the name of the ACNUC list to modify
socket
an object of class sockconn connecting to a remote ACNUC database (default is a socket to the last opened database).
...
arguments passed to getliststate

Value

NA in case of problem and an warning is issued. When there is no problem a list with the following 4 components:gln is a shortcut for getliststate(lrank, ...)$name

References

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

citation("seqinr")

See Also

choosebank, query, alr, glr

Examples

Run this code
## Not run:  
#   ### Need internet connection
#   choosebank("emblTP")
#   mylist <- query("mylist", "sp=felis catus et t=cds", virtual=TRUE)
#   getliststate(glr("mylist")) # SQ, MYLIST, 603, FALSE
#   gln(glr("mylist")) # MYLIST (upper case letters on server)
#   closebank()
#   ## End(Not run)

Run the code above in your browser using DataLab