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(
  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 Sept. 26, 2022, 4:37 a.m.