Latest Release: 05/01/19
Release Notes can be found here.

Accessing the samples of a participant

francois_afrancois_a Member, Broadie ✭✭

It currently isn't possible to access a participant's sample attributes directly, using this.samples.<attribute>
This is a significant limitation for analyses across samples (e.g., tissues, cell types) from the same individual.
As a workaround, I'm adding sample lists through the API:

{"samples_": {
    "itemsType": "EntityReference",
    "items": [{"entityType": "sample", "entityName": i} for i in participant_sample_ids]
}}

Since this can lead to synchronization problems, it would be great if the participant->samples relationship were implicit in the data model.

1
1 votes

Active · Last Updated

Comments

Sign In or Register to comment.