Public
Edited
May 29, 2024
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// gene_of_interest = 'something'
Insert cell
// inst_gene_name = 'something'
Insert cell
inst_gene_name
Insert cell
gene_of_interest
Insert cell
Insert cell
available_libs = [
'CellMarker_2024',
'ARCHS4_Tissues',
'GO_Biological_Process_2018',
'GO_Cellular_Component_2018',
'GO_Molecular_Function_2018',
'GTEx_Tissue_Sample_Gene_Expression_Profiles_up',
'KEGG_2019_Human',
'ChEA_2016',
'MGI_Mammalian_Phenotype_Level_4_2019',
'Disease_Perturbations_from_GEO_up',
'Ligand_Perturbations_from_GEO_up',
'LINCS_L1000_Chem_Pert_down',
'Ligand_Perturbations_from_GEO_down',
]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// list_id = JSON.parse(new_post_response.body).userListId.toString()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// network = FileAttachment("pre-calc-viz.json").json()
Insert cell
Insert cell
Insert cell
Insert cell
inst_gene_name = JSON.parse(fetch_hzome.body).name
Insert cell
inst_gene_description = JSON.parse(fetch_hzome.body).description
Insert cell
fetch_hzome = {
let base_url = 'https://amp.pharm.mssm.edu/Harmonizome/api/1.0/gene/' ;
let full_url = base_url + gene_of_interest;
const response = await fetch(
full_url, {
method: 'GET'
}
);
return {
ok: response.ok,
body: await response.text()
};
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
md`### Current mouseover: ${mouseover_row_name}, ${mouseover_col_name}`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more