get_reactome_data_types: ReactomeGSA supported data types

View source: R/get_methods.R

get_reactome_data_typesR Documentation

ReactomeGSA supported data types

Description

ReactomeGSA supported data types

Usage

get_reactome_data_types(
  print_types = TRUE,
  return_result = FALSE,
  reactome_url = NULL
)

Arguments

print_types

If set to TRUE (default) a (relatively) nice formatted version of the result is printed.

return_result

If set to TRUE, the result is returned as a data.frame (see below)

reactome_url

URL of the Reactome API Server. Overwrites the URL set in the 'reactome_gsa.url' option. Specific ports can be set using the standard URL specification (for example http://your.service:1234)

Value

A data.frame containing one row per data type with its id and description.

Author(s)

Johannes Griss

See Also

Other Reactome Service functions: get_reactome_methods()

Examples

# retrieve the avialable data types
available_types <- get_reactome_data_types(print_types = FALSE,  return_result = TRUE)

# print all data type ids
available_types$id

# simply print the available methods
get_reactome_data_types()

reactome/ReactomeGSA documentation built on Nov. 13, 2023, 11:13 p.m.