Skip to content
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

Open
rajivnarayan opened this issue Jan 28, 2021 · 4 comments
Open

Loading Morpheus session files from a URL #25

rajivnarayan opened this issue Jan 28, 2021 · 4 comments

Comments

@rajivnarayan
Copy link
Contributor

Is it possible to load morpheus session files from a URL location? That would be useful for sharing preconfigured views of data.

However downloading the same session file and manually opening it also works.

@joshua-gould
Copy link
Collaborator

joshua-gould commented Jan 28, 2021 via email

@rajivnarayan
Copy link
Contributor Author

rajivnarayan commented Jan 29, 2021 via email

@maximilianh
Copy link

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.

@joshua-gould
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants