Learn R Programming

cloudos (version 0.4.0)

cb_search_phenotypes: 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")

Value

A tibble with phenotype metadata

Arguments

term

A term to search. (Required)

cb_version

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

Examples

Run this code
if (FALSE) {
cancer_phenos <- cb_search_phenotypes(term = "cancer")

all_phenos <- cb_search_phenotypes(term = "")
}


Run the code above in your browser using DataLab