Code Monkey home page Code Monkey logo

coral's People

Contributors

armish avatar cwenger avatar dphansti avatar erikadudes avatar ksmetz avatar mbergins avatar mikelaff avatar nacrokill avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

coral's Issues

using R scripts

I realize the posting are years old, but I am hoping for some help anyway. The R directory in the coral.tar download appears to have useful tools. However I have not succeeded with implementing them in R. In particular the convertID.R script may be helpful in dealing with various labels. I have successfully sourced global.R and loaded all libraries, however where to go from here is not clear. Any chance there is a more detailed readme or help file?

Thanks

Add legends to all D3 plots

From @dphansti:

... While I think the app is good enough, I really wish the D3 plots had legends. If you load example data and look at the 'Tree' plot you'll see that legends are automatically generated...

Unneeded Packages?

Can we remove the radialNetworkR package from the loaded package set? It isn't available for R 3.4.3 and it doesn't appear to be still in development. I'm not familiar enough with the workings of the network portion of the code to know if I can safely be removed.

Missing Images in Repo

I think the repo is missing a set of png's that are supposed to be in the www/images folder.

Error object 'controlLabel' not found

When i am running the app following error occuring :

shiny::runApp()
Loading required package: shiny
Attaching package: ‘shinydashboard’
The following object is masked from ‘package:graphics’:
box
Attaching package: ‘colourpicker’
The following object is masked from ‘package:shiny’:
runExample
Attaching package: ‘DT’
The following objects are masked from ‘package:shiny’:
dataTableOutput, renderDataTable
Attaching package: ‘jsonlite’
The following object is masked from ‘package:shiny’:
validate
Listening on http://127.0.0.1:7122
Warning: Error in get: object 'controlLabel' not found
93: get
92: :::
89: radioButtons_withHTML [R/radiobuttonswithimages.R#19]

Manual editing questions

hello.
I want to utilize Kinome map for Coral. I want to modify the tree, but I was wondering if you could share how to create the tree. Now, by understanding the code, it seems to be svg creation through tsv -> tree.rds file creation -> rendering through rds file.

tempfiles folder

Did you move a few files out of www and into a folder named "tempfiles". I was trying to sync up your latest commits, but the tempfiles folder doesn't seem to be syncing from your repository.

implementation

I have been unable to get CORAL to work in a windows or linux application, and am seeking guidance. I have downloaded the CORAL-master utilities
(ui.R, global.R, server.R, Coral.proj, README.md and the directories www, R and Data). Following the steps in global.R, the correct libraries have been loaded into R (3.3.2). Since I am attempting to implement in the R package on a windows and linux machine, the ‘data.tree’ package presented most of the problems. When the appropriate packages were installed, the library(‘data.tree’) finally worked for both machines.

install.packages("data.tree" , dependencies=T) did not pick up the needed packages, so each was done separately. Regardless, all the libraries could be loaded and the sourced *.R files yielded no errors.
However, in both the windows and linux machines

source(‘global.R’) gives the same error

rna_data = paste(readLines("Data/RNAdata.txt"),collapse="\n")
Warning message:
In readLines("Data/RNAdata.txt") :
incomplete final line found on 'Data/RNAdata.txt'

rna_abs_data = paste(readLines("Data/RNAdata_pluripotent.txt"),collapse="\n")
Warning message:
In readLines("Data/RNAdata_pluripotent.txt") :
incomplete final line found on 'Data/RNAdata_pluripotent.txt'

I inspected both files and added a \n to the final line, without success.

Any suggestions would be most appreciated.

I would also ask about the D3.js java script library. I have not encountered a java ‘hook’ in R. I have downloaded D3.js to the CORAL-master directory.
Is there a pointer for that location that needs to be run within R?

Finally, I am looking forward to generating images using CORAL. Your ‘examples’ are quite impressive, however, a suite of sample scripts would be helpful (or a pdf writeup). If this information is available at http://phanstiel-lab.med.unc.edu/CORAL/ please direct me to where. So far I do not seem to have the capacity to implement anything. I would add the >source(‘./R/Test.R’), does not generate any of the output expected from this script.

Thanks in advance for your help,

David Covell, Ph.D.
NIH-NCI

Force/circle graphs shouldn't overflow off of their container element

From @dphansti:

"Force/Circle graphs were not "contained" within the window" (this is actually browser specific. The problem definitely occurs on chrome but not Safari I think).

From the reviewers:

  1. The Circle and Force Graph modes are difficult to work with. [The comment above applies here, too.]

During testing, it often happened that the whole graph would tumble off screen and couldn't be re-centered without returning to Tree and then back to Force or Circle. If it didn't leave the screen entirely, it would move in a way that made it hard to focus on the nodes of interest. Unlike the Tree view, Force/Circle graphs were not "contained" within the window, which again made them difficult to work with. It wasn't entirely clear to us what the Force Graph would be used for, since they are typically used to visualize network data, though perhaps other users would have a need.

Example overflow (when both graphs are zoomed in):

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.