Bioconductor / GenomicDataCommons

Provide R access to the NCI Genomic Data Commons portal.
http://bioconductor.github.io/GenomicDataCommons/
83 stars 23 forks source link

_mapping "expand" fix #28

Closed seandavi closed 7 years ago

seandavi commented 7 years ago

I originally understood the "expand" parameter:

https://docs.gdc.cancer.gov/API/Users_Guide/Search_and_Retrieval/#expand

to refer to fields. Instead, it refers to "field groups", so it appears that adding a column with the "expand" value for each field might make more sense. So, for the output here:

https://gdc-api.nci.nih.gov/files/_mapping

Define a data frame with a column called "expand" that will include repeated field groups for the associated fields.

seandavi commented 7 years ago

On second thought, I think we don't need the expand at all. We have more powerful approaches available directly in R.