Installation problem with r8s

46 views
Skip to first unread message

Subhajeet Dutta

unread,
Apr 25, 2023, 2:33:54 PM4/25/23
to hahnl...@googlegroups.com
Hello,
          I am trying to do my tree ultrametric. But I am unable to install r8s. I am even trying to install pyr8s but unfortunately it does not work. So, can anyone help me please in the installation?

Regards

Hahn, Matthew

unread,
Apr 25, 2023, 2:36:50 PM4/25/23
to Subhajeet Dutta, hahnl...@googlegroups.com
Sorry, we cannot help with that.


Matt

--
You received this message because you are subscribed to the Google Groups "hahnlab-cafe" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hahnlabcafe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hahnlabcafe/CAN%3DDz7Szfq7t3A8cSV9-BX%2B7od9yhb4o7R6CMZGzL9GaG4MsLg%40mail.gmail.com.

Dr. Suresh Kumar

unread,
Jul 14, 2023, 5:05:51 AM7/14/23
to hahnlab-cafe
Hi,

i was also facing issues in r8s installation . so i tried alternate way to convert your tree to ultrametric using r. the script i used below try ...
---------------------------------------------
library(phytools)
set.seed(1)
tree1 <- read.tree(file="/home/usr/Desktop/sp_tree.txt",text=text)
tree1
plotTree(tree1)
is.ultrametric(tree1)
test.tree <- read.tree(file = "/home/usr/Desktop/sp_tree.txt", text = NULL, tree.names = NULL, skip = 0,
                       comment.char = "#", keep.multi = FALSE)

test.tree.nu <- chronopl(test.tree, 0, age.min = 1, age.max = NULL,
                         node = "root", S = 1, tol = 1e-8,
                         CV = FALSE, eval.max = 500, iter.max = 500)

is.ultrametric(test.tree.nu)
is.binary.tree(test.tree.nu)
treeclust <- as.hclust.phylo(tree.phylo)
text<-write.tree(test.tree.nu, file="/home/usr/Desktop/spnu_tree.txt", digits=7)

-------------------------------------------------------------
all the best.

Reply all
Reply to author
Forward
0 new messages