meta_nodes_search_node {epigraphdb} | R Documentation |
Search a node by its id field, or its name field
Description
GET /meta/nodes/{meta_node}/search
Usage
meta_nodes_search_node(
meta_node,
id = NULL,
name = NULL,
limit = 10,
full_data = TRUE,
mode = c("table", "raw")
)
Arguments
meta_node |
Name of a meta node (e.g. Gwas). Use |
id |
The id field of a node (e.g. "ieu-a-2" for a Gwas). Use EpiGraphDB web UI to get a sense of what those ids are for entities. |
name |
The name field of a node (e.g. "body mass index" for a Gwas). Use EpiGraphDB web UI to get a sense of what those names are for entities. |
limit |
Max number of items to retrieve. |
full_data |
When False, only return the id and name fields (their specific names differ in specific nodes) for a node. This is useful if you want your queries to return results faster with smaller amount of data requested. |
mode |
If |
Value
Data from GET /meta/nodes/{meta_node}/search
Examples
# Search Gwas nodes
## Not run:
meta_nodes_search_node(meta_node = "Gwas", name = "body mass index")
## End(Not run)