f-galkin commited on
Commit
4fb1494
1 Parent(s): ff63fa7

Improved notebook formatting

Browse files
Files changed (1) hide show
  1. demo/HF_TCM+P3GPT_sceening.ipynb +12 -147
demo/HF_TCM+P3GPT_sceening.ipynb CHANGED
@@ -200,106 +200,7 @@
200
  "This is token index where gene should be predicted: 1\n",
201
  "[BOS]<age_group2diff2age_group><tissue>skin </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species>\n",
202
  "This is token index where gene should be predicted: 251\n",
203
- "Running generations for muscle-methylation\n",
204
- "[BOS]<age_group2diff2age_group><tissue>muscle </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species><up>\n",
205
- "This is token index where gene should be predicted: 1\n",
206
- "[BOS]<age_group2diff2age_group><tissue>muscle </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species>\n",
207
- "This is token index where gene should be predicted: 260\n",
208
- "Running generations for muscle-proteomics\n",
209
- "[BOS]<age_group2diff2age_group><tissue>muscle </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species><up>\n",
210
- "This is token index where gene should be predicted: 1\n",
211
- "[BOS]<age_group2diff2age_group><tissue>muscle </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species>\n",
212
- "This is token index where gene should be predicted: 259\n",
213
- "Running generations for muscle-expression\n",
214
- "[BOS]<age_group2diff2age_group><tissue>muscle </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species><up>\n",
215
- "This is token index where gene should be predicted: 1\n",
216
- "[BOS]<age_group2diff2age_group><tissue>muscle </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species>\n",
217
- "This is token index where gene should be predicted: 259\n",
218
- "Running generations for whole blood-methylation\n",
219
- "[BOS]<age_group2diff2age_group><tissue>whole blood </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species><up>\n",
220
- "This is token index where gene should be predicted: 1\n",
221
- "[BOS]<age_group2diff2age_group><tissue>whole blood </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species>\n",
222
- "This is token index where gene should be predicted: 259\n",
223
- "Running generations for whole blood-proteomics\n",
224
- "[BOS]<age_group2diff2age_group><tissue>whole blood </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species><up>\n",
225
- "This is token index where gene should be predicted: 1\n",
226
- "[BOS]<age_group2diff2age_group><tissue>whole blood </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species>\n",
227
- "This is token index where gene should be predicted: 120\n",
228
- "Running generations for whole blood-expression\n",
229
- "[BOS]<age_group2diff2age_group><tissue>whole blood </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species><up>\n",
230
- "This is token index where gene should be predicted: 1\n",
231
- "[BOS]<age_group2diff2age_group><tissue>whole blood </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species>\n",
232
- "This is token index where gene should be predicted: 13\n",
233
- "Running generations for epithelium-methylation\n",
234
- "[BOS]<age_group2diff2age_group><tissue>epithelium </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species><up>\n",
235
- "This is token index where gene should be predicted: 1\n",
236
- "[BOS]<age_group2diff2age_group><tissue>epithelium </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species>\n",
237
- "This is token index where gene should be predicted: 120\n",
238
- "Running generations for epithelium-proteomics\n",
239
- "[BOS]<age_group2diff2age_group><tissue>epithelium </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species><up>\n",
240
- "This is token index where gene should be predicted: 1\n",
241
- "[BOS]<age_group2diff2age_group><tissue>epithelium </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species>\n",
242
- "This is token index where gene should be predicted: 11\n",
243
- "Running generations for epithelium-expression\n",
244
- "[BOS]<age_group2diff2age_group><tissue>epithelium </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species><up>\n",
245
- "This is token index where gene should be predicted: 1\n",
246
- "[BOS]<age_group2diff2age_group><tissue>epithelium </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species>\n",
247
- "This is token index where gene should be predicted: 11\n",
248
- "Running generations for artery-methylation\n",
249
- "[BOS]<age_group2diff2age_group><tissue>artery </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species><up>\n",
250
- "This is token index where gene should be predicted: 1\n",
251
- "[BOS]<age_group2diff2age_group><tissue>artery </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species>\n",
252
- "This is token index where gene should be predicted: 13\n",
253
- "Running generations for artery-proteomics\n",
254
- "[BOS]<age_group2diff2age_group><tissue>artery </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species><up>\n",
255
- "This is token index where gene should be predicted: 1\n",
256
- "[BOS]<age_group2diff2age_group><tissue>artery </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species>\n",
257
- "This is token index where gene should be predicted: 261\n",
258
- "Running generations for artery-expression\n",
259
- "[BOS]<age_group2diff2age_group><tissue>artery </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species><up>\n",
260
- "This is token index where gene should be predicted: 1\n",
261
- "[BOS]<age_group2diff2age_group><tissue>artery </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species>\n",
262
- "This is token index where gene should be predicted: 261\n",
263
- "Running generations for fat tissue-methylation\n",
264
- "[BOS]<age_group2diff2age_group><tissue>fat tissue </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species><up>\n",
265
- "This is token index where gene should be predicted: 1\n",
266
- "[BOS]<age_group2diff2age_group><tissue>fat tissue </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species>\n",
267
- "This is token index where gene should be predicted: 261\n",
268
- "Running generations for fat tissue-proteomics\n",
269
- "[BOS]<age_group2diff2age_group><tissue>fat tissue </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species><up>\n",
270
- "This is token index where gene should be predicted: 1\n",
271
- "[BOS]<age_group2diff2age_group><tissue>fat tissue </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species>\n",
272
- "This is token index where gene should be predicted: 259\n",
273
- "Running generations for fat tissue-expression\n",
274
- "[BOS]<age_group2diff2age_group><tissue>fat tissue </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species><up>\n",
275
- "This is token index where gene should be predicted: 1\n",
276
- "[BOS]<age_group2diff2age_group><tissue>fat tissue </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species>\n",
277
- "This is token index where gene should be predicted: 260\n",
278
- "Running generations for brain-methylation\n",
279
- "[BOS]<age_group2diff2age_group><tissue>brain </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species><up>\n",
280
- "This is token index where gene should be predicted: 1\n",
281
- "[BOS]<age_group2diff2age_group><tissue>brain </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species>\n",
282
- "This is token index where gene should be predicted: 261\n",
283
- "Running generations for brain-proteomics\n",
284
- "[BOS]<age_group2diff2age_group><tissue>brain </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species><up>\n",
285
- "This is token index where gene should be predicted: 1\n",
286
- "[BOS]<age_group2diff2age_group><tissue>brain </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species>\n",
287
- "This is token index where gene should be predicted: 260\n",
288
- "Running generations for brain-expression\n",
289
- "[BOS]<age_group2diff2age_group><tissue>brain </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species><up>\n",
290
- "This is token index where gene should be predicted: 1\n",
291
- "[BOS]<age_group2diff2age_group><tissue>brain </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species>\n",
292
- "This is token index where gene should be predicted: 260\n",
293
- "Running generations for liver-methylation\n",
294
- "[BOS]<age_group2diff2age_group><tissue>liver </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species><up>\n",
295
- "This is token index where gene should be predicted: 1\n",
296
- "[BOS]<age_group2diff2age_group><tissue>liver </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>methylation </dataset_type><gender></gender><species>human </species>\n",
297
- "This is token index where gene should be predicted: 125\n",
298
- "Running generations for liver-proteomics\n",
299
- "[BOS]<age_group2diff2age_group><tissue>liver </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species><up>\n",
300
- "This is token index where gene should be predicted: 1\n",
301
- "[BOS]<age_group2diff2age_group><tissue>liver </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>proteomics </dataset_type><gender></gender><species>human </species>\n",
302
- "This is token index where gene should be predicted: 261\n",
303
  "Running generations for liver-expression\n",
304
  "[BOS]<age_group2diff2age_group><tissue>liver </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species><up>\n",
305
  "This is token index where gene should be predicted: 1\n",
@@ -401,54 +302,18 @@
401
  "text/plain": [
402
  "(5281792,\n",
403
  " {'title': 'rosmarinic-acid',\n",
404
- " 'known_targets': {'symbols': ['C5',\n",
405
- " 'CCR3',\n",
406
- " 'CCL2',\n",
407
- " 'PREP',\n",
408
- " 'NFKB1',\n",
409
- " 'IKBKB',\n",
410
- " 'CASP3',\n",
411
- " 'C3',\n",
412
- " 'OLIG2',\n",
413
- " 'CCL11',\n",
414
- " 'CD86',\n",
415
- " 'AURKA',\n",
416
- " 'IL2',\n",
417
- " 'F2',\n",
418
- " 'IDO1',\n",
419
- " 'IL4',\n",
420
- " 'RPS6KB1',\n",
421
- " 'ABAT',\n",
422
- " 'CCL3',\n",
423
- " 'STAT1',\n",
424
- " 'CD80',\n",
425
- " 'IL5',\n",
426
- " 'IL6'],\n",
427
- " 'entrez_ids': [18,\n",
428
- " 3565,\n",
429
- " 4790,\n",
430
- " 836,\n",
431
- " 3551,\n",
432
- " 3620,\n",
433
- " 6772,\n",
434
- " 718,\n",
435
- " 2147,\n",
436
- " 3558,\n",
437
- " 3569,\n",
438
- " 6347,\n",
439
- " 6356,\n",
440
- " 727,\n",
441
- " 6790,\n",
442
- " 3567,\n",
443
- " 942,\n",
444
- " 6348,\n",
445
- " 10215,\n",
446
- " 6198,\n",
447
- " 5550,\n",
448
- " 1232,\n",
449
- " 941]},\n",
450
  " 'predicted_targets': {'symbols': ['IFNG', 'PTGS1', 'PTGS2', 'TPMT'],\n",
451
- " 'entrez_ids': [3458, 5742, 5743, 7172]}})"
452
  ]
453
  },
454
  "execution_count": 10,
 
200
  "This is token index where gene should be predicted: 1\n",
201
  "[BOS]<age_group2diff2age_group><tissue>skin </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species>\n",
202
  "This is token index where gene should be predicted: 251\n",
203
+ "...\n",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  "Running generations for liver-expression\n",
205
  "[BOS]<age_group2diff2age_group><tissue>liver </tissue><cell></cell><efo></efo><datatype></datatype><drug></drug><dose></dose><time></time><case>70.0-80.0 </case><control>19.95-25.0 </control><dataset_type>expression </dataset_type><gender></gender><species>human </species><up>\n",
206
  "This is token index where gene should be predicted: 1\n",
 
302
  "text/plain": [
303
  "(5281792,\n",
304
  " {'title': 'rosmarinic-acid',\n",
305
+ " 'known_targets': {'symbols': ['C5', 'CCR3', 'CCL2', 'PREP', 'NFKB1',\n",
306
+ " 'IKBKB', 'CASP3', 'C3', 'OLIG2', 'CCL11', \n",
307
+ " 'CD86', 'AURKA', 'IL2', 'F2', 'IDO1',\n",
308
+ " 'IL4', 'RPS6KB1','ABAT', 'CCL3','STAT1',\n",
309
+ " 'CD80', 'IL5', 'IL6'],\n",
310
+ " 'entrez_ids': [18, 3565, 4790, 836, 3551,\n",
311
+ " 3620, 6772, 718, 2147, 3558,\n",
312
+ " 3569, 6347, 6356, 727, 6790,\n",
313
+ " 3567, 942, 6348, 10215, 6198,\n",
314
+ " 5550, 1232, 941]},\n",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
315
  " 'predicted_targets': {'symbols': ['IFNG', 'PTGS1', 'PTGS2', 'TPMT'],\n",
316
+ " 'entrez_ids': [3458, 5742, 5743, 7172]}})"
317
  ]
318
  },
319
  "execution_count": 10,