How can I extract 10 random individuals from a selected cohort in UKB RAP ?

I have selected a cohort of patients on the research analysis platform (RAP) system. Now, I would subsample 10 of these patients to perform some tests. Anyone knows how to do it? 

Comments

1 comment

  • Comment author
    Chai Fungtammasan DNAnexus Team

    You mean in cohort browser? If so, currently this functionality isn't available. However, if you export them out using Table Exporter or dx extract_dataset, you could then use pandas or R to sampling it.

    0

Please sign in to leave a comment.