-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
@andrewelamb
If I use iatlasGraphQLClient::query_tag_samples() for two parent tags for the AMADEUS dataset, the results are different than if I query each parent tag independently.
#query for response
> cat_df <- iatlasGraphQLClient::query_tag_samples(cohorts = "AMADEUS", parent_tags = c("Responder"))
> dim(cat_df)
[1] 66 8
#query for prior_rx
> prior_df <- iatlasGraphQLClient::query_tag_samples(cohorts = "AMADEUS", parent_tags = c("Prior_Rx"))
> dim(prior_df)
[1] 82 8
#now, if we query both parent tags, we would expect a df with 148 rows, but it only returns results for Prior_Rx
> resp_prior_df <- iatlasGraphQLClient::query_tag_samples(cohorts = "AMADEUS", parent_tags = c("Responder", "Prior_Rx"))
> dim(resp_prior_df)
[1] 83 8
It doesn't happen for other datasets, for example Gide:
#query for response
> cat_df <- iatlasGraphQLClient::query_tag_samples(cohorts = "Gide_Cell_2019", parent_tags = c("Responder"))
> dim(cat_df)
[1] 91 8
#query for prior_rx
> prior_df <- iatlasGraphQLClient::query_tag_samples(cohorts = "Gide_Cell_2019", parent_tags = c("Prior_Rx"))
> dim(prior_df)
[1] 91 8
#now, if we query both parent tags, we get a df with 182 rows and results for both parent tags
> resp_prior_df <- iatlasGraphQLClient::query_tag_samples(cohorts = "Gide_Cell_2019", parent_tags = c("Responder", "Prior_Rx"))
> dim(resp_prior_df)
[1] 182 8
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels