renozao / FAQR

Frequently Asked Questions on R: my personal Ask Just Once system for my friends' R problems...
0 stars 0 forks source link

Colour scale position in aheatmap #16

Open kkveler opened 8 years ago

kkveler commented 8 years ago

I want to change the color scale position from the default top-right corner of the data matrix to say bottom-right corner. This http://renozao.github.io/NMF/devel/vignettes/aheatmaps.pdf says it can be achieved via layout parameter, like aheatmap(x, layout = '_'). When trying this I get

Error in aheatmap(hm, annCol = tracks, annColors = annColors, main = paste0(titleprefix, : unused argument (layout = "_")

I'm using NMF_0.20.6, is layout available in development version only? Thanks

renozao commented 8 years ago

Yes, for now development version only:

devtools::install_github('renozao/pkgmaker', ref = 'develop') devtools::install_github('renozao/NMF', ref = 'devel')