sgosline / hyphalnet

Basic implementation of community detection in networks
MIT License
1 stars 1 forks source link

Create function that queries from synapse table to create mutation dictionary #2

Open sgosline opened 4 years ago

sgosline commented 4 years ago

This is similar to #1 but might be trickier (or easier) because mutational data for CPTAC is stored in a synapse table. this requires a slightly different syntax to pull the data and put it into a dictionary of dictionaries. The primary key on the dictionaries is the sample identifier, the internal one is the gene symbol.

The table is here: https://www.synapse.org/#!Synapse:syn22172602/tables/

sgosline commented 4 years ago

Now that I closed #4 you can see an example of this to implement for the CPTAC data: https://github.com/sgosline/hyphalnet/blob/develop/examples/pdxDrugResponse/testDrugResponse.py