Discussion:
object 'node_depth' not found
Edgar G. Kozlova
2018-03-02 13:28:37 UTC
Permalink
Hello, I have been trying to use msaplot like this:

library(ggtree)

MyTree <- read.tree("tree.newick") #check

fasta <- read.fasta("mydata.fasta", package="ggtree")

msaplot(p=ggtree(MyTree), fasta="mydata.fasta")

## Then I'm getting this error and I'm not finding information about it.

Error in ladderize(MyTree, right = FALSE) : object 'node_depth' not found

Thanks in advance.
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility

To post: email ***@googlegroups.com
To unsubscribe: email ggplot2+***@googlegroups.com
More options: http://groups.google.com/group/ggplot2

---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Edgar G. Kozlova
2018-03-05 16:57:43 UTC
Permalink
I solved the problem. Error was due versions. bioconductor was 2.4 and R
was 3.4.

It is working fine now.

Thanks
Post by Edgar G. Kozlova
library(ggtree)
MyTree <- read.tree("tree.newick") #check
fasta <- read.fasta("mydata.fasta", package="ggtree")
msaplot(p=ggtree(MyTree), fasta="mydata.fasta")
## Then I'm getting this error and I'm not finding information about it.
Error in ladderize(MyTree, right = FALSE) : object 'node_depth' not found
Thanks in advance.
--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility

To post: email ***@googlegroups.com
To unsubscribe: email ggplot2+***@googlegroups.com
More options: http://groups.google.com/group/ggplot2

---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...