Skip to content

Commit

Permalink
Merge pull request #47 from ncats/RdataUpdate_2.2.1
Browse files Browse the repository at this point in the history
Rdata update 2.2.1
  • Loading branch information
Mathelab authored Mar 16, 2023
2 parents 8522670 + b2d33f0 commit ce59ff6
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: RaMP
Title: RaMP (Relational Database of Metabolomic Pathways)
Type: Package
Version: 2.2.0
Version: 2.2.1
License: GPL-2
Depends: R (>= 3.6.0)
Authors@R: c(
Expand Down
3 changes: 2 additions & 1 deletion R/processNewRamp.R
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ processData <- function(){
#
#
# #uncomment usethis::use_data function to create sysdata.rda object
# rampdb_version = 'v2.0.6'
# rampdb_version = 'v2.2.1'
# usethis::use_data(genes_result,
# metabolites_result,
# analyte_result,
Expand Down Expand Up @@ -487,6 +487,7 @@ processData <- function(){

# run these 3 methods, these generate files in the R RaMP library area
# if commiting to git, then copy the new files into your R git project inst/extdata

# pkg.globals <- setConnectionToRaMP(dbname=dbname,username=username,conpass=conpass,host=hostname)
# RaMP:::updateOverlapMatrices(method="balanced" ,all="all")
# RaMP:::updateOverlapMatrices(method="balanced" ,all="analyte")
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ To access, [click here](https://www.mdpi.com/2218-1989/8/1/16)
## Installation Instructions
In order to use this R package locally, you will need the following:
* The R code under this repo
* The mysql dump file that contains the RaMP database. **[Download here](https://figshare.com/ndownloader/files/38534654).**
* The mysql dump file that contains the RaMP database. **[Download here](https://figshare.com/ndownloader/files/39460683).**


If you would like to know how to build RaMP database from scratch, please check another GitHub site at [RaMP-BackEnd](https://github.com/ncats/RaMP-BackEnd)
Expand Down Expand Up @@ -86,7 +86,7 @@ mysql> exit;

Here, we are naming the database "ramp" but you can use any name you'd like. It is worth noting though that the R package assumes that the name of the database is "ramp" by default. So if you change the name, remember to pass that name as arguments in the R package functions.

Second, download and unzip the latest RaMP database. **[Download here](https://figshare.com/ndownloader/files/38534654).**
Second, download and unzip the latest RaMP database. **[Download here](https://figshare.com/ndownloader/files/39460683).**


Third, populate the named database with the mysql dump file
Expand Down
Binary file modified inst/extdata/FT_data.Rdata
Binary file not shown.
Binary file modified inst/extdata/analytes_overlap_matrix.RData
Binary file not shown.
Binary file modified inst/extdata/genes_overlap_matrix.RData
Binary file not shown.
Binary file modified inst/extdata/metabolites_overlap_matrix.RData
Binary file not shown.

0 comments on commit ce59ff6

Please sign in to comment.