Description Usage Arguments Details Value Note Author(s) References See Also Examples
This function could be used to change the names of the DNA squences according to given names. If no names provided by names
, the function will return the original sequences.
1 | rename.fas(x, names = NULL)
|
x |
fasta object to be renamed. |
names |
A vector of character strings indicating the names.. |
The number of names provided by the user must be equal to the number of sequences, otherwise the function will stop.
A fasta object with all the sequences with new names.
To be added.
Jinlong zhang jinlongzhang01@gmail.com
None.
See Also gnames.fas
, for obtaining the names of sequences from fasta objects.
1 2 3 | ### rename.fas() example
data(fil.fas)
rename.fas(fil.fas, name = paste("Sequence", as.character(1:19), sep = ""))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.