getRaMPAnalyteIntersections: Retrieve RaMP Analyte Source Intersections, these indicate...

View source: R/SourceDataFunctions.R

getRaMPAnalyteIntersectionsR Documentation

Retrieve RaMP Analyte Source Intersections, these indicate the level of analyte overlaps between our sources

Description

Retrieve RaMP Analyte Source Intersections, these indicate the level of analyte overlaps between our sources

Usage

getRaMPAnalyteIntersections(
  db = RaMP(),
  analyteType = "metabolites",
  format = "json",
  scope = "mapped-to-pathway"
)

Arguments

analyteType

returns analyte overlaps for 'metabolites' or 'genes'

format

can be one of either 'json', 'upsetR_expression'

scope

value in c('global', 'mapped-to-pathway'), indicates all metabolite stats should be returned, or just those asssociated with pathways.

Value

current analyte overlaps counts between current data sources, for the specified analyteType

Examples

## Not run: 
pkg.globals <- setConnectionToRaMP(dbname="ramp2",username="root",conpass="",host = "localhost")
jsonResult <- getRaMPAnalyteIntersections(analyteType='genes', format='json')

## End(Not run)

ncats/RaMP-DB documentation built on April 28, 2024, 3:28 a.m.