Wei OUYANG
Emma Lundberg Group @ KTH Royal Institute of Technology
- ImageJ compiled into Javascript (with CheerpJ)
- Running in web browser, support tablets & mobile phones
<docs> | |
# HPA Cell Atlas Images | |
This plugin uses the virtual stack api of ImageJ.JS to display all the HPA Cell Atlas images (v18). | |
</docs> | |
<config lang="json"> | |
{ | |
"name": "HPACellAtlasImages", | |
"type": "iframe", |
/** | |
* Contains the routines loaded by the plugin iframe under web-browser | |
* in case when worker failed to initialize | |
* | |
* Initializes the web environment version of the platform-dependent | |
* connection object for the plugin site | |
*/ | |
import { connectRPC } from "./pluginCore.js"; | |
import { RPC, API_VERSION } from "./rpc.js"; | |
import { MessageEmitter, randId, normalizeConfig } from "./utils.js"; |
<body> | |
<button id="button" onclick="connect()">Connect</button> | |
<div id="div"></div><input id="chat"></input><br> | |
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script> | |
<script> | |
var pc = new RTCPeerConnection(), dc, enterPressed = e => e.keyCode == 13; | |
var connect = () => init(dc = pc.createDataChannel("chat")); | |
pc.ondatachannel = e => init(dc = e.channel); |
<docs> | |
[TODO: write documentation for this plugin.] | |
</docs> | |
<config lang="json"> | |
{ | |
"name": "HPA-UMAP-Nucleolus", | |
"type": "web-worker", | |
"tags": [], | |
"ui": "", |
<docs> | |
# NGFF image file Loader for ImageJ.JS | |
[Next-generation file formats](https://ngff.openmicroscopy.org/latest/) is a specification for storing bioimaging data in the cloud. | |
This plugin enalbes loading NGFF image into ImageJ.JS. | |
The implementation is adapted from the [OMERO ImJoy](https://github.com/will-moore/omero-imjoy) made by @will-moore | |
</docs> |
<docs> | |
[TODO: write documentation for this plugin.] | |
</docs> | |
<config lang="json"> | |
{ | |
"name": "HPA-UMAP-Studio", | |
"type": "web-worker", | |
"tags": [], | |
"ui": "", |
import gzip | |
# download idmapping.dat.gz from uniprot | |
# wget ftp://ftp.ebi.ac.uk/pub/databases/uniprot/current_release/knowledgebase/idmapping/idmapping.dat.gz | |
id_mapping_file = './idmapping.dat.gz' | |
id_mapping = {} | |
for line in gzip.open(id_mapping_file): | |
line = line.decode('utf8').strip() | |
ac, pred, obj = line.split('\t') |