Customize colors in aheatmap() function from NMF package in R
0
0
Entering edit mode
14 months ago
David R ▴ 20

Hi,

I have just discovered the NMF package and its aheatmap() function. I would like to customize side colors. I have tried as follows: on the annColargument I have put the two variables I want side bars for, let us say A and B. On the annColors argument I have put a list with two elements, named A and B, where color names appear from "red" to "cyan" (i.e. four different colors), attributed for each element on that dimension on the heat map and for each variable A and B. As a result, the heat map is produced, with to side bars, but the colors are not the ones I asked for. Any hints about this?

Thanks a lot!

Best,

David R.

heatmap NMF R • 423 views
ADD COMMENT

Login before adding your answer.

Traffic: 2094 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