alllistranks | R Documentation |
This is a low level function to get the total number of list and all their ranks in an opened database.
alllistranks(socket = autosocket(), verbose = FALSE)
alr(socket = autosocket(), verbose = FALSE)
socket |
an object of class |
verbose |
if |
This low level function is usually not used directly by the user.
A list with two components:
count |
count of existing lists |
rank |
their rank |
J.R. Lobry
citation("seqinr")
choosebank
,
query
## Not run: # Need internet connection
choosebank("emblTP")
tmp1 <- query("tmp1", "sp=Borrelia burgdorferi", virtual = TRUE)
tmp2 <- query("tmp2", "sp=Borrelia burgdorferi", virtual = TRUE)
tmp3 <- query("tmp3", "sp=Borrelia burgdorferi", virtual = TRUE)
(result <- alllistranks())
stopifnot(result$count == 3) # Three ACNUC lists
stopifnot(result$ranks == 2:4) # Starting at rank 2
#
# Summay of current lists defined on the ACNUC server:
#
sapply(result$ranks, getliststate)
closebank()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.