cb_search_phenotypes: Search available phenotypes

View source: R/cb_filter_explore.R

cb_search_phenotypesR Documentation

Search available phenotypes

Description

Search for phenotypes in the Cohort Browser that match your term and return a tibble containing the metadata information for each matching phenotype. Use ' term = "" ' to return all phenotypes.

Usage

cb_search_phenotypes(term, cb_version = "v2")

Arguments

term

A term to search. (Required)

cb_version

cohort browser version (Optional) [ "v1" | "v2" ]

Value

A tibble with phenotype metadata

Examples

## Not run: 
cancer_phenos <- cb_search_phenotypes(term = "cancer")

all_phenos <- cb_search_phenotypes(term = "")

## End(Not run)



lifebit-ai/cloudos documentation built on March 25, 2023, 2:47 a.m.