-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading Morpheus session files from a URL #25
Comments
On a related note, is it possible in some way to use the morpheus javascript code from my own javascript program and pass it not a URL, but the data directory, e.g. as a string or a JSON object? I've written a simple t-SNE/UMAP viewer (cells.ucsc.edu) and it would be cool if I could let users explore the data in morpheus. However, I don't have a server backend yet that could create the .tsv file for morpheus. For example, when running landingPage.open(options), I could add the data itself (as a typed array?) to the options object. |
Please see https://github.com/cmap/morpheus.js/blob/master/examples/json_example.html. Please let me know if anything is unclear and I'd be happy to help. |
Is it possible to load morpheus session files from a URL location? That would be useful for sharing preconfigured views of data.
Loading a dataset works, for example:
https://software.broadinstitute.org/morpheus/?json={%22dataset%22%3A%22%2F%2Fs3.amazonaws.com%2Frn-test-data%2Ftest.gct%22}%0A
But it fails if I provide it a Json formatted session file
https://software.broadinstitute.org/morpheus/?json={%22dataset%22%3A%22%2F%2Fs3.amazonaws.com%2Frn-test-data%2Ftest.json%22}%0A
However downloading the same session file and manually opening it also works.
The text was updated successfully, but these errors were encountered: