cb_get_phenotype_statistics {cloudos}R Documentation

Get distribution of a phenotype in a cohort

Description

Retrieve a data frame containing the distirbution data for a specific phenotype within a cohort.

Usage

cb_get_phenotype_statistics(
  cohort,
  pheno_id,
  max_depth = Inf,
  page_number = "all",
  page_size = 1000
)

Arguments

cohort

A cohort object. (Required) See constructor function cb_create_cohort or cb_load_cohort

pheno_id

A phenotype ID. (Required)

max_depth

The maximum depth to descend in a 'nested list' phenotype. (Default: Inf)

page_number

For internal use.

page_size

For internal use.

Value

A data frame holding distribution data.


[Package cloudos version 0.4.0 Index]