Description Usage Arguments Examples
Writes a PHYLIP multiple sequence alignment file from a physeq object. If sequences are not the same length, there will be an error
1 | WritePhylip(x, filename, blocks = 5, blocksize = 10)
|
x |
The physeq object to read from |
filename |
The name of the file to create |
blocks |
The number of sequences per block. Default = 5 |
blocksize |
The number of characters per sequence per block. Default = 10 |
1 2 3 4 | x <- ReadFasta("MSA.fa") #Creates the physeq object 'x'
WritePhylip(x, "MSA.phy")
y <- physeq(c("Seq 1", "Seq 2"), c("RRARRPR", "PKKKRKV"))
WritePhylip(y, "Seqs.phy")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.