Description Usage Arguments Value Author(s) References See Also Examples
Computes the total number of residues (nucleotides or aminoacids) in all sequences of the list of specified rank.
1 | residuecount(lrank, socket = autosocket())
|
lrank |
the list rank on the ACNUC server |
socket |
an object of class |
A single numeric value corresponding to the total number of residues or NA in case of problem.
J.R. Lobry
http://doua.prabi.fr/databases/acnuc.html
citation("seqinr")
1 2 3 4 5 6 7 8 | ## Not run:
### Need internet connection
choosebank("emblTP")
mylist <- query("mylist", "t=CDS", virtual = TRUE)
stopifnot(residuecount(glr("mylist")) == 1611439240)
stopifnot(is.na(residuecount(glr("unknowlist")))) # A warning is issued
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.