getName | R Documentation |
GetName returns the sequence names.
getName(object, ...)
object |
an object of the class |
... |
further arguments passed to or from other methods |
an object of class character
containing the names of the sequences
D. Charif, J.R. Lobry, L. Palmeira
citation("seqinr")
SeqAcnucWeb
, SeqFastadna
,
SeqFastaAA
, SeqFrag
#
# List all available methods for getName generic function:
#
methods(getName)
#
# Example with seven DNA sequences from a FASTA file:
#
ff <- system.file("sequences/someORF.fsa", package = "seqinr")
fs <- read.fasta(file = ff)
stopifnot(all(getName(fs) == c("YAL001C", "YAL002W", "YAL003W",
"YAL005C", "YAL007C", "YAL008W", "YAL009W")))
#
# Example with 49 sequences from an ACNUC server:
#
## Not run:
# Need internet connection
choosebank("emblTP")
fc <- query("fc", "sp=felis catus et t=cds et o=mitochondrion")
getName(fc)
closebank()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.