Small bug in mfuzz.plot
0
0
Entering edit mode
@musicallyut-9645
Last seen 8.2 years ago

I apologize if I am posting this at the wrong place, but I was not sure what is the correct venue for this.

I have a few minor suggestion to make for the `mfuzz.plot` function.

Firstly, the default color scheme of the function can be improved from being this:

to either this:

(generated with `colo <- brewer.pal(9, 'Greens')`)

or

(generated with `colo <- c(rev(brewer.pal(9, 'Oranges')), brewer.pal(9, 'Greens'))`)

 

Secondly, I think the line:

colorSeq <- seq(0, 1, length=length(colo))

should read

colorSeq <- seq(0, 1, length=length(colo) + 1)

so that the last color in `colo` gets used.

 

Hope that helps.

 

~

ut

Mfuzz • 1000 views
ADD COMMENT

Login before adding your answer.

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