The MicrobiotaProcess package performed lefse analysis and had a problem drawing the tree
2
0
Entering edit mode
@ed88ff42
Last seen 9 months ago
United States
LEfse %>% 
   ggdiffclade(obj=.,
               alpha=0.3, linewd=0.2, 
               skpointsize=0.6,
               taxlevel=3,
               settheme=FALSE, 
               setColors=FALSE,
               cladetext=1.5, removeUnknown = F) +
   guides(color = guide_legend(keywidth = 0.1,
                               keyheight = 0.6,
                               order = 3, 
                               ncol=1)) + 
   scale_fill_manual(values=c("#008B45FF","#EE0000FF","purple")) +

   guides(fill=guide_legend(order = 1,reverse = T,keyheight = 0.1,keywidth = 0.6))+
   theme(panel.background=element_rect(fill=NA),
         legend.position="right",
         plot.margin=margin(0,0,0,0),
         legend.spacing.x = unit(0.02, "cm"),
         legend.title=element_text(size=7),
         legend.text=element_text(size=6),
         legend.box.spacing=unit(0.02,"cm"))
 Invaild edge matrix for <phylo>. A <tbl_df> is returned.
 Invaild edge matrix for <phylo>. A <tbl_df> is returned.
 Invaild edge matrix for <phylo>. A <tbl_df> is returned.
 Invaild edge matrix for <phylo>. A <tbl_df> is returned.
Error in offspring.tbl_tree_item(.data = .data, .node = .node, tiponly = tiponly,  : 
  could not find function "offspring.tbl_tree_item"
MicrobiotaProcess offspring.tbl_tree_item • 4.2k views
ADD COMMENT
0
Entering edit mode

Not long ago, it was able to run, but today it suddenly can not run, check the error prompt given, but did not find the reason, please put forward your opinion, I will humbly accept.

ADD REPLY
0
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

See the last message here.

0
Entering edit mode
@3494d2fa
Last seen 9 months ago
40 Jedburgh Road LEW OX18 3UJ

It seems there is an issue with the phylogenetic tree data or the custom function offspring.tbl_tree_item. To resolve the error, ensure the tree is properly formatted, and make sure the required packages for handling phylogenetic data are loaded. Additionally, Content Stop offers student academic assistance through its assignment writing service.

ADD COMMENT

Login before adding your answer.

Traffic: 551 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6