Hello World,
The plot_tree function produces the following error for me with both the packaged dataset ("GlobalPatterns") and my own phyloseq object:
Error Message
"Error in as.data.table.matrix(xi, keep.rownames = keep.rownames) :
4 arguments passed to .Internal(nchar) which requires 3"
Version information:
R version 3.2.3
packageVersion("ggplot2") = ‘1.0.1’
packageVersion("phyloseq") = ‘1.14.0’
packageVersion("ape") = ‘3.4’
Steps to Reproduce Error:
library("phyloseq")
library("ggplot2")
data("GlobalPatterns")
phy_tree(GlobalPatterns)$node.label = substr(phy_tree(GlobalPatterns)$node.label, 1, 4)
physeq = prune_taxa(taxa_names(GlobalPatterns)[1:50], GlobalPatterns)
plot_tree(physeq)
Could someone please test that it works on their version and report what version that is? Or, otherwise, if you are developing the 'phyloseq' package, could you please work on a fix or offer me advice? I would love to use this function!
Thanks!
The plot_tree function produces the following error for me with both the packaged dataset ("GlobalPatterns") and my own phyloseq object:
Error Message
"Error in as.data.table.matrix(xi, keep.rownames = keep.rownames) :
4 arguments passed to .Internal(nchar) which requires 3"
Version information:
R version 3.2.3
packageVersion("ggplot2") = ‘1.0.1’
packageVersion("phyloseq") = ‘1.14.0’
packageVersion("ape") = ‘3.4’
Steps to Reproduce Error:
library("phyloseq")
library("ggplot2")
data("GlobalPatterns")
phy_tree(GlobalPatterns)$node.label = substr(phy_tree(GlobalPatterns)$node.label, 1, 4)
physeq = prune_taxa(taxa_names(GlobalPatterns)[1:50], GlobalPatterns)
plot_tree(physeq)
Could someone please test that it works on their version and report what version that is? Or, otherwise, if you are developing the 'phyloseq' package, could you please work on a fix or offer me advice? I would love to use this function!
Thanks!