WishartLab / heatmapper

GNU General Public License v2.0
49 stars 19 forks source link

Expression: Detect file size and auto-adjust plot size if needed, etc. #64

Open davidarndt opened 8 years ago

davidarndt commented 8 years ago
yongjiel commented 8 years ago

OK, I handle it tonight.

On Sat, Apr 23, 2016 at 5:06 PM, davidarndt notifications@github.com wrote:

Assigned #64 https://github.com/sbabicki/heatmapper/issues/64 to @yongjiel https://github.com/yongjiel.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/sbabicki/heatmapper/issues/64#event-638821648

yongjiel commented 8 years ago

Functions are added to expression/server.R and expression/ui.R. All the new code has been pushed to origin/jack_branch.

davidarndt commented 8 years ago

Can we add:

yongjiel commented 8 years ago

Ok, I follow it.

Jack

On Mon, Apr 25, 2016 at 8:43 AM, davidarndt notifications@github.com wrote:

Can we add:

  • When the input data has > 100 rows and the height of rows is automatically adjusted, this should be done by programmatically selecting the "Preview Full Height" check box. If the user then de-selects this check box, the height should no longer be automatically adjusted.
  • If the user changes the plot dimensions, hide the message "Plot dimensions were auto-adjusted..."

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/sbabicki/heatmapper/issues/64#issuecomment-214366025

yongjiel commented 8 years ago

change expression/ui.R and server.R. Now if nrow(file) > 100, the app will initiate the function 'Plot full size' in the 'Advanced options', if <, then still use the default. After uncheck the 'Plot full size', still use the default (the scale pixels value to show image)."

davidarndt commented 8 years ago

It looks like the behavior is still the same as before (unchecking "Preview Full Height" does not stop auto-scaling and hide the message). jack_branch was merged with master and everything was updated on the production server.

yongjiel commented 8 years ago

It is because the show/hide advanced options button hiding all the options. Now I updated the code a little. All the functions work except that the "show/hide advanced button" not work properly. We can use this code first and fix the button later. Code is updated in jack_branch

On Mon, Apr 25, 2016 at 6:37 PM, davidarndt notifications@github.com wrote:

Reopened #64 https://github.com/sbabicki/heatmapper/issues/64.

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/sbabicki/heatmapper/issues/64#event-640818332

yongjiel commented 8 years ago

Now the button can work properly. Everything looks good.

davidarndt commented 8 years ago

Two issues: