Skip to content

Commit

Permalink
nicer comment
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausVigo committed Sep 19, 2024
1 parent b891de0 commit ca83c3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/ancestral.R
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,9 @@ write.ancestral <- function(x, file="ancestral"){
cat("# df <- read.table(\"",tname,"\", header=TRUE) \n", sep="", file = fname,
append=TRUE)
cat("# anc <- as.ancestral(tree, df) \n", file = fname, append=TRUE)
cat("# plotAnc(anc) \n", file = fname, append=TRUE)
cat("# see ?plotAnc or vignette(\"Ancestral\", package=\"phangorn\") \n#\n",
cat("# plotAnc(anc) \n#\n", file = fname, append=TRUE)
cat("# For more information type ?plotAnc or\n", file = fname, append=TRUE)
cat("# vignette(\"Ancestral\", package=\"phangorn\") in R.\n#\n",
file = fname, append=TRUE)
cat(colnames(tab), "\n", sep="\t", file = fname, append=TRUE)
write.table(tab, file=fname, quote=FALSE, row.names=FALSE, col.names=FALSE,
Expand Down

0 comments on commit ca83c3a

Please sign in to comment.