View source: R/07_microsynteny-based_phylogeny.R
profiles2phylip | R Documentation |
Save the transposed binary profiles matrix to a file in PHYLIP format
profiles2phylip(transposed_profiles = NULL, outdir = tempdir())
transposed_profiles |
A binary and transposed profile matrix.
The profile matrix can be obtained with |
outdir |
Path to output directory. By default, files are saved in a temporary directory, so they will be deleted when the R session closes. If you want to keep the files, specify a custom output directory. |
Character specifying the path to the PHYLIP file.
data(clusters)
profile_matrix <- phylogenomic_profile(clusters)
tmat <- binarize_and_transpose(profile_matrix)
profiles2phylip(tmat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.