Skip to content

Commit

Permalink
small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausVigo committed Nov 19, 2024
1 parent 6126689 commit faec65d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/pml_generics.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ write.pml <- function(x, file="pml", save_rds=TRUE, ...){
}
else {
call <- x$call
call$data <- "align"
call$data <- quote(align)
call$tree <- quote(tree)
cat("tree <- read.tree(\"", file, "_tree.nwk\")\n", sep="")
cat("align <- read.phyDat(\"", file, "_align.fasta\", format=\"fasta\")",
sep="")
Expand Down

0 comments on commit faec65d

Please sign in to comment.