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

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.
Learn more