Learn R Programming

seqinr (version 3.3-3)

readfirstrec: Low level function to get the record count of the specified ACNUC index file

Description

Called without arguments, the list of available values for argument type is returned.

Usage

readfirstrec(socket = autosocket(), type)

Arguments

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

Value

The record count of ACNUC index file, or NA if missing (typically when asking for type = EXT on a protein database).

Details

Available index files are:

References

See ACNUC physical structure at http://doua.prabi.fr/databases/acnuc/structure.html. citation("seqinr")

See Also

choosebank

Examples

Run this code
## Not run: 
# # Need internet connection
#   choosebank("genbank")
#   allowedtype <- readfirstrec()
#   sapply(allowedtype, function(x) readfirstrec(type = x))
#   ## End(Not run)

Run the code above in your browser using DataLab