Giter Club home page Giter Club logo

Comments (4)

andyptt21 avatar andyptt21 commented on September 28, 2024

Hi Emilie,

Please see our textbook chapter for a more detailed vignette on how to set up and run the functions of the package.

The function you are looking for is probably getPathwayFromAnalyte

It's difficult to diagnose your problem without the specific error message you are receiving. Some suggestions that may help:

  • Have you been able to access the ramp database through mySQL (outside of R)?
  • Is your mySQL version older than 5.7? The RaMP package will not work with newer versions of mySQL due to changes in password encryption
  • Is 'mycode' the proper password for your account?

from ramp-db.

emiliesecherre avatar emiliesecherre commented on September 28, 2024

The error function is "impossible to find the function xxx".
I have MySQL 5.7, and i imported all ramp db. I tried it in MySQL command line using your example (select * from analytesynonym where synonym = "glucose";) and obtained 2lines of result, while having all tables required. "Mycode" is the good password, here is what happen when i run the command line :
> connectToRaMP(dbname = "ramp", username = "root", conpass = "mycode",host = "localhost") <MySQLConnection:0,0>

from ramp-db.

andyptt21 avatar andyptt21 commented on September 28, 2024

It's odd that you're able to use connectToRaMP but none of the other package functions. Have you tried restarting R and/or reinstalling the RaMP package? You don't actually need to use connectToRaMP prior to running getPathwayFromAnalyte, although running them in sequence doesn't seem to be a problem on my system.

from ramp-db.

emiliesecherre avatar emiliesecherre commented on September 28, 2024

it's not all functions, only some. For example, rampFindSynonymFromSynonym and rampFindSourceFromId are not recognized, but getPathwayFromAnalyte and runCombinedFisherTest work well. I restarted R but it didn't fix anything, and i didn't reinstall RaMP because no warnings appeared when i installed it...

from ramp-db.

Related Issues (20)

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.