Description Usage Arguments Details Value Author(s) See Also Examples
get the names of sequences from a PHYLIP file.
1 | get.phylip.name(infile, clean_name = FALSE)
|
infile |
character representing the name or path of the phylip file. |
clean_name |
logical, representing cleaning of the names will be performed. |
Punctuation characters and white space be replaced by "_". Definition of Punctuation characters can be found at regex
.
a character vector of the names of the sequences
Jinlong Zhang <jinlongzhang01@gmail.com>
1 2 3 4 5 6 7 8 9 10 | cat("6 22",
"seq_1 --TTACAAATTGACTTATTATA",
"seq_2 GATTACAAATTGACTTATTATA",
"seq_3 GATTACAAATTGACTTATTATA",
"seq_5 GATTACAAATTGACTTATTATA",
"seq_8 GATTACAAATTGACTTATTATA",
"seq_10 ---TACAAATTGAATTATTATA",
file = "matk.phy", sep = "\n")
get.phylip.name("matk.phy")
unlink("matk.phy")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.