ggtree icon indicating copy to clipboard operation
ggtree copied to clipboard

ISSUES of gtheatmap

Open Adam-JJJJJ opened this issue 6 years ago • 0 comments
trafficstars

Prerequisites

  • [ ] Have you read Feedback and follow the guide?
    • [ ] make sure your are using the latest release version
    • [ ] read the documents
    • [ ] google your question/issue

Describe you issue

  • [ ] Make a reproducible example (e.g. 1)
  • [ ] your code should contain comments to describe the problem (e.g. what expected and actually happened?)

Ask in right place

  • [ ] for bugs or feature requests, post here (github issue)
  • [ ] for questions, please post to google group Hello, Respect Dr.Yu I'm appreciated your masterpiece of ggtree while there is a problems perplex me,and i sincerely looking forward to your reply.
    #Question: Alouthgh i got my result with my codes, i recived a Warning message when i used gheatmap of ggtree. Warning message: attributes are not identical across measure variables; they will be dropped. I had verified the name of tree file and the name of data for gheatmap. The row names of attributes and variables of tree file don's make any different. the code is below: #CODES tre<-read.newick("GENE2.nwk",node.label = "support") data<-read.csv("GENETYPE.CSV",sep = ",",row.names = 1, header = T)

pp <- ggtree(tre) + geom_tiplab(size=3,align = T)+ geom_nodepoint(aes(color=support))+ scale_color_gradient("ML Tree Bootstrap Value",high='Pink', low='orange')+ theme(legend.position='left')+ geom_treescale(fontsize=3, linesize=1, offset = 0.1) gheatmap(pp,data,offset = 0.3,color = "BLACK") #Addition: There is my screen shot of my data(gene type.csv) and tree. And I apologize for Mosaic because personal reasons. QQ截图20191118195733 QQ截图20191118195756

How can i fix it? Thanks for your time.

Adam-JJJJJ avatar Nov 18 '19 12:11 Adam-JJJJJ