Platform
Resources
Pricing
Sign in
Get started
Human Immune Monitoring Center at Mount Sinai
Human Immune Monitoring Center at Mount Sinai
Workspace
Fork
Published
By
Nicolas Fernandez
Edited
Apr 23, 2020
Insert cell
Insert cell
Insert cell
Insert cell
gene_list
=
[
'ATP5F1'
,
'ACE2'
,
'CLASP1'
,
'INSR1'
,
'PHF14'
,
'RBM3'
,
'MSL1'
,
'PHF21A'
,
'ARL10'
,
'INSR'
,
'JADE2'
,
'P2RX7'
]
// 'PHF14', 'RBM3', 'MSL1', 'PHF21A', 'ARL10', 'INSR', 'JADE2', 'P2RX7',
// 'LINC00662', 'CCDC101', 'PPM1B', 'KANSL1L', 'CRYZL1', 'ANAPC16', 'TMCC1',
// 'CDH8', 'RBM11', 'CNPY2', 'HSPA1L', 'CUL2', 'PLBD2', 'LARP7', 'TECPR2',
// 'ZNF302', 'CUX1', 'MOB2', 'CYTH2', 'SEC22C', 'EIF4E3', 'ROBO2',
// 'ADAMTS9-AS2', 'CXXC1', 'LINC01314', 'ATF7',
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// inst_lib = 'GO_Biological_Process_2018'
inst_lib
=
'KEGG_2015'
Insert cell
JSON
.
parse
(
fetch_enrichment
.
body
)
[
inst_lib
]
.
map
(
x
=>
x
[
1
]
)
Insert cell
Insert cell
Insert cell
// options = ({
// list: gene_list.join('\n'),
// description: 'Clustergrammer gene-cluster list' ,
// popup: true
// })
Insert cell
// function send_to_Enrichr(options) { // http://amp.pharm.mssm.edu/Enrichr/#help
// var defaultOptions = {
// description: "",
// popup: false
// };
// if (typeof options.description == 'undefined')
// options.description = defaultOptions.description;
// if (typeof options.popup == 'undefined')
// options.popup = defaultOptions.popup;
// if (typeof options.list == 'undefined')
// alert('No genes defined.');
// var form = document.createElement('form');
// form.setAttribute('method', 'post');
// form.setAttribute('action', 'https://amp.pharm.mssm.edu/Enrichr/enrich');
// if (options.popup)
// form.setAttribute('target', '_blank');
// form.setAttribute('enctype', 'multipart/form-data');
// var listField = document.createElement('input');
// listField.setAttribute('type', 'hidden');
// listField.setAttribute('name', 'list');
// listField.setAttribute('value', options.list);
// form.appendChild(listField);
// var descField = document.createElement('input');
// descField.setAttribute('type', 'hidden');
// descField.setAttribute('name', 'description');
// descField.setAttribute('value', options.description);
// form.appendChild(descField);
// document.body.appendChild(form);
// form.submit();
// document.body.removeChild(form);
// }
Insert cell
// send_to_Enrichr(options)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
gene_list
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
list_id
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
new_post_response
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
view_list_response
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
inst_lib
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
fetch_enrichment
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML