cb_participant_count: Participant Count

View source: R/cb_filter_explore.R

cb_participant_countR Documentation

Participant Count

Description

Returns the number of participants in a cohort if the supplied query were to be applied.

Usage

cb_participant_count(cohort, query = list(), keep_query = TRUE)

Arguments

cohort

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

query

A phenotype query defined using the codephenotype function and logic operators (see example below)

keep_query

Apply newly specified query on top of exisiting query (Default: TRUE)

Value

A list with count of participants in the cohort and the total no. of participants in the dataset.


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