Giter VIP home page Giter VIP logo

oncothreads's Introduction

OncoThreads Build Status

OncoThreads longitudinal cancer genomics visualization project.

Development Environment

To install OncoThreads Dependencies run

npm install

OncoThreads can be run in the browser or as an electron application using the commands

npm run react-start

and

npm run electron-start
Releases

Latest release: http://oncothreads.gehlenborglab.org/

Installers for electron application: https://github.com/hms-dbmi/OncoThreads/releases

Creating an electron release using Travis

Steps to create a new release of electron installers:

  1. Upgrade the OncoThreads version in package.json
  2. Tag your latest commit with this version number
    git tag -a v[VERSION_NUMBER] -m 'v[VERSION_NUMBER]' && git push origin --tags
    

Travis will build installers for Mac, Windows, and Linux and create a release with these files.

Updating Offline Gene ID Mapping

The file HgncEntrez.txt is used for offline gene id mapping to ensure that no API calls are send to other services while local files are used for OncoThreads. This file needs to be updated on a regular basis. Currently, this has to be done manually using this service: https://www.genenames.org/download/custom/. Please select all approved genes and the columns 'Approved Symbol' and 'NCBI Gene ID' and replace the file.

Example:

OncoThreads screenshot

oncothreads's People

Contributors

dependabot[bot] avatar mccalluc avatar ngehlenborg avatar sabrinanusrat avatar scottx611x avatar thharbig avatar wangqianwen0418 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kant

oncothreads's Issues

can't add transition variable

When I click on any of the transition variables, I get pop-up with no options to select:
image

Actually, every once in a while, the options are there, but it's intermittent.

genes added as binary don't show up properly in global timeline

  1. They appear with a color box.
  2. I can't click on them to make them the primary variable used to color the boxes. In the screenshot below I had actually promoted the CDKN2A with the purple box in the other view, but it switches to the non-binary one in the global view

image

For reference, this is what I have:
image

Add Info Box to Summarize the Study

Somewhere, perhaps top right, I think we should add a nicely designed info box that summarizes the data, e.g. study name and description, XXX samples, YYY time points, etc.

stray quote character

There is quote character showing at the left edge of the window below the variable list.

image

adding a gene should always have a visible response

If I try to add a gene without any mutations OR if I try to add a gene which is not actually a gene, there is no response provided to the user.

For a real gene without any mutations, I think we should still add the track. We could perhaps provide the user with a warning/choice about it (e.g. "There are no mutations in XXX. Add track anyway? [yes] [no]") or we can just add it and let the user figure it out.

If the gene that is entered isn't a real gene name, then we should provide a warning to the user, e.g. "XXX is not a valid HUGO gene symbol"

bug when log transforming data

If I log transform a track, apply it, and then return to the "modify continuous variable" page, then the plot of the data shows the log-transformed data but the radio button is set to "None" rather than "log"

inconsistency between sorting & grouping buttons

If I start with unsorted/ungrouped data...

If I begin by right clicking on the grouping button, and select "apply to all timepoints", it applies the grouping to the timepoint I selected and to all other timepoints.

If I begin by right clicking on the sorting button and select "apply to all timepoints", it doesn't first sort the timepoint I selected and then apply that order to other timepoints, it just applies the current sort order to other timepoints. In order to sort all timepoints by a particular variable, I need to first sort the timepoint of interest and then right click to apply to other timepoints.

While I can understand why this may make sense, my preference would be to have the sort button act more like the group button.

adding gene without alterations does nothing

I tried adding EGFR mutations-binary in the glioma study and when I click "add", nothing happens. We used to have a pop-up warning the user that there were no alterations and letting the user decide whether or not to add it.

tweaks to "show time as"

Rather than having a separate button, how about integrating this feature into the axis label. We could rotate the axis label and add a cogwheel which when clicked brings up radio buttons to select days/weeks/years - something like this:
image

adding transition variable in global timeline view appears blank in other view

In heatmap view, add a transition variable and group all timepoints by it (Chemotherapy in the screenshot below)
Go to global timeline view and add another transition variable (XRT in the screenshot below)
Go back to heatmap view - the newly added transition variable (XRT) appears blank:
image

If I promote XRT, then the coloring is restored:
image

Following the same procedure with a timepoint variable doesn't have this problem.

binning pop-up shouldn't always reference grouping

If I click the gear icon to bring up the bin mutation count pop-up, it shouldn't include the blue text box about binning before grouping since the user isn't trying to group anything. Can that blue text box appear conditionally based on which button the user clicked to open the popup?

image

re-order control buttons

image

With my screen size, I always have the buttons in two rows. Can "Show/Hide global timeline" be moved to be in the row above? Or what about splitting up the buttons so the relative time & global timeline buttons appears where the buttons currently are on the left side of the screen, and the undo/redo/reset buttons appears in the upper right of the screen?

show actual value in tooltip for binned data

In the tooltip for a data track that is binned, can we show the actual data value also, and not just the bin name? Or have I already asked about this and it was a complicated thing to implement?

image

legends are cutoff

When the values for a variable are long, the legends run off the side of the page. This is what I see without any scrolling/window adjustments:
image

I can scroll to the right a bit, and read more of the legends, but some are still cutoff:
image

I know that making all the legends fit on the screen without scrolling is a bigger task, but is it an easy fix to at least be able to scroll more to the right, such that all the legends can be read? If possible, that would be helpful before testing tomorrow.

horizontal and vertical zooms are

For the horizontal zoom, to zoom in I move the slider to the left and to zoom out I move it to the right. But for the vertical zoom, I zoom in by moving the slider to the right and zoom out by moving it to the left.

I think the vertical zoom is set to the more intuitive orientation, so let's flip the horizontal zoom to match the vertical zoom.

Also, consider adding a "-" and "+" to either size of the slider to make this explicit.

Need Clear Axes for Samples v. Time

It's not currently clear that time is being represented.

Perhaps, we could simply add two labeled axies, one that says "Samples", and points to the right, and one that say "Time" and points downward. Similarly, we could label each time point, e.g. Time Point 1, Time Point 2, etc.

default color scheme for copy number changes

Can we have a default color scheme for any copy number tracks? Deletions should be blue (deep blue for -2, lighter blue for -1), zero can stay grey, and then gains (+1) should be pink and amplifications (+2) should be red. This is a standard color scheme that people will make interpreting the data much easier for a user.

add some spacing in left side bar

I think this sidebar would be clearer to read if there were some blank space above the lines for "Sample Variables" and "Transition Variables".
Also can we capitalize "Variables" in "Transition Variables" for consistency?

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.