Support diffmap and phate layouts. Explicitly handle embeddings with >2 components. (#662)

* Add diffmap and phate to supported embeddings

* Explicitly pull the first two components of any given layout
This commit is contained in:
Sidney Bell
2019-03-21 19:06:05 -07:00
committed by GitHub
parent 016a4a422a
commit 16f93397ae
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ from server.app.util.utils import custom_format_warning
@click.option(
"--layout",
"-l",
type=click.Choice(["umap", "tsne", "draw_graph_fa", "draw_graph_fr"]),
type=click.Choice(["umap", "tsne", "draw_graph_fa", "draw_graph_fr", "diffmap", "phate"]),
default="umap",
show_default=True,
help="Method for layout."