cb_search_phenotypic_filters produces a table with multiple rows for each filter
ilevantis opened this issue · 1 comments
ilevantis commented
When testing on http://dev-gel.lifebit.ai/ instance, each row for the same filter contains one of the possible values in the possibleValues
column:
> library(cloudos)
> cloudos_configure(base_url = "http://cohort-browser-dev-110043291.eu-west-1.elb.amazonaws.com/cohort-browser/",
token = "...api token...",
team_id = "5f7c8696d6ea46288645a89f")
> cb_search_phenotypic_filters("genetic", cb_version="v1")
Total number of phenotypic filters found - 3
display isMandatory possibleValues recruiterDescription group
1 dropdown FALSE Somatic, Somatic Genetic Test
2 dropdown FALSE Germline, Germline Genetic Test
3 dropdown FALSE cfDNA, cfDNA Genetic Test
4 checkBox FALSE Not known, Not known, 0
5 checkBox FALSE Li-Fraumeni syndrome, Li-Fraumeni syndrome, 1
6 checkBox FALSE Familial adenomatous polyposis, Familial adenomatous polyposis, 2
7 checkBox FALSE Beckwith-Wiedemann syndrome, Beckwith-Wiedemann syndrome, 3
8 checkBox FALSE Other, Other, 4
9 checkBox FALSE Chromosomes/FISH, Chromosomes/FISH, 0 NULL clinicalFeatures
10 checkBox FALSE Array CGH, Array CGH, 1 NULL clinicalFeatures
11 checkBox FALSE Fragile X Syndrome, Fragile X Syndrome, 2 NULL clinicalFeatures
12 checkBox FALSE Single gene/panel testing, Single gene/panel testing, 3 NULL clinicalFeatures
13 checkBox FALSE Exome/genome testing, Exome/genome testing, 4 NULL clinicalFeatures
14 checkBox FALSE Newborn screening testing, Newborn screening testing, 5 NULL clinicalFeatures
clinicalForm bucket500 bucket1000 bucket2500 bucket5000 bucket300 bucket10000 categoryPathLevel1
1 cancerForm FALSE FALSE FALSE FALSE FALSE FALSE Cancer diagnosis
2 cancerForm FALSE FALSE FALSE FALSE FALSE FALSE Cancer diagnosis
3 cancerForm FALSE FALSE FALSE FALSE FALSE FALSE Cancer diagnosis
4 cancerForm FALSE FALSE FALSE FALSE FALSE FALSE Cancer diagnosis
5 cancerForm FALSE FALSE FALSE FALSE FALSE FALSE Cancer diagnosis
6 cancerForm FALSE FALSE FALSE FALSE FALSE FALSE Cancer diagnosis
7 cancerForm FALSE FALSE FALSE FALSE FALSE FALSE Cancer diagnosis
8 cancerForm FALSE FALSE FALSE FALSE FALSE FALSE Cancer diagnosis
9 udForm FALSE FALSE FALSE FALSE FALSE FALSE Undiagnosed disease form
10 udForm FALSE FALSE FALSE FALSE FALSE FALSE Undiagnosed disease form
11 udForm FALSE FALSE FALSE FALSE FALSE FALSE Undiagnosed disease form
12 udForm FALSE FALSE FALSE FALSE FALSE FALSE Undiagnosed disease form
13 udForm FALSE FALSE FALSE FALSE FALSE FALSE Undiagnosed disease form
14 udForm FALSE FALSE FALSE FALSE FALSE FALSE Undiagnosed disease form
categoryPathLevel2 id instances name type Sorting valueType units coding
1 Genetic findings 57 1 Genetic Test bars Categorical single
2 Genetic findings 57 1 Genetic Test bars Categorical single
3 Genetic findings 57 1 Genetic Test bars Categorical single
4 Genetic syndromes 52 1 Genetic syndromes bars Categorical single
5 Genetic syndromes 52 1 Genetic syndromes bars Categorical single
6 Genetic syndromes 52 1 Genetic syndromes bars Categorical single
7 Genetic syndromes 52 1 Genetic syndromes bars Categorical single
8 Genetic syndromes 52 1 Genetic syndromes bars Categorical single
9 Previous Investigation results 113 1 Previous genetic and genomic testing bars Categorical multiple
10 Previous Investigation results 113 1 Previous genetic and genomic testing bars Categorical multiple
11 Previous Investigation results 113 1 Previous genetic and genomic testing bars Categorical multiple
12 Previous Investigation results 113 1 Previous genetic and genomic testing bars Categorical multiple
13 Previous Investigation results 113 1 Previous genetic and genomic testing bars Categorical multiple
14 Previous Investigation results 113 1 Previous genetic and genomic testing bars Categorical multiple
description descriptionParticipantsNo link array descriptionStability descriptionCategoryID descriptionItemType
1 Genetic Test Not provided 20
2 Genetic Test Not provided 20
3 Genetic Test Not provided 20
4 ] Not provided 5
5 ] Not provided 5
6 ] Not provided 5
7 ] Not provided 5
8 ] Not provided 5
9 Not provided 20
10 Not provided 20
11 Not provided 20
12 Not provided 20
13 Not provided 20
14 Not provided 20
descriptionStrata descriptionSexed orderPhenotype instance0Name instance1Name instance2Name instance3Name instance4Name
1
2
3
4
5
6
7
8
9
10
11
12
13
14
instance5Name instance6Name instance7Name instance8Name instance9Name instance10Name instance11Name instance12Name
1
2
3
4
5
6
7
8
9
10
11
12
13
14
instance13Name instance14Name instance15Name instance16Name
1
2
3
4
5
6
7
8
9
10
11
12
13
14