isenum | R Documentation |
Gives the ACNUC number of a sequence in the number
element of the returned list.
More informations are returned for subsequences corresponding to coding sequences.
isenum(what, idby = c("name", "access"), socket = autosocket())
isn(what, ...)
getNumber.socket(socket, name)
getAttributsocket(socket, name)
what |
a sequence name or a sequence accession number |
idby |
is the sequence identified by name or by accession number? Default to name |
socket |
an object of class |
... |
arguments passed to |
name |
a sequence name. |
A list whith the following 6 components:
number |
numeric. The ACNUC number of the sequence. |
length |
numeric. The length of the sequence. |
frame |
numeric. The reading frame (0, 1, or 2) of the sequence for CDS. |
gencode |
numeric. ACNUC's genetic code (0 means universal) of the sequence for CDS. |
ncbigc |
numeric. NCBI's genetic code (0 means universal) of the sequence for CDS. |
otheraccessmatches |
logical. If TRUE it means that several sequences are attached
to the given accession nunmber, and that only the ACNUC number of the first attached
sequence is returned in the |
isn(what, ...)
is a shortcut for isenum(what, ...)$number
.
As from seqinR 1.1-3 getNumber.socket
and
getAttributsocket
are deprecated (a warning is issued).
J.R. Lobry
https://doua.prabi.fr/databases/acnuc.html
citation("seqinr")
choosebank
, query
## Not run:
### Need internet connection
choosebank("emblTP")
isenum("LMFLCHR36")
isn("LMFLCHR36")
stopifnot(isn("LMFLCHR36") == 13682678)
# Example with CDS:
isenum("AB004237")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.