object 'node_depth' not found

16 views
Skip to first unread message

Edgar G. Kozlova

unread,
Mar 2, 2018, 8:41:12 AM3/2/18
to ggplot2
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.

Edgar G. Kozlova

unread,
Mar 5, 2018, 11:57:43 AM3/5/18
to ggplot2
I solved the problem. Error was due versions. bioconductor was 2.4 and R was 3.4.

It is working fine now.

Thanks
Edgar:
Reply all
Reply to author
Forward
0 new messages