From 3e1465425d8719be6ab60a9666a827dee4bd0b5d Mon Sep 17 00:00:00 2001 From: Tanushree Tunstall Date: Sun, 11 Dec 2022 19:57:23 +0000 Subject: [PATCH] aaaaaaa --- tb_host/app.R | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tb_host/app.R b/tb_host/app.R index 53b954c..e3b1e3d 100644 --- a/tb_host/app.R +++ b/tb_host/app.R @@ -279,16 +279,16 @@ server <- function(input, output) { NGLVieweR_proxy("structure") %>% updateVisibility("cartoon", FALSE) %>% - addSelection(type="surface", + addSelection(type="cartoon", param = list(name = "all_mutations_surface", sele = "all", color="tan", opacity = 0.2 ) ) %>% - addSelection(type="surface", + addSelection(type="spacefill", param = list(name = "all_mutations", - color="red", + color="orange", sele = mutations #colorScheme = "bfactor", #opacity = 1 @@ -296,16 +296,17 @@ server <- function(input, output) { ) NGLVieweR_proxy("af_structure") %>% updateVisibility("cartoon", FALSE) %>% - addSelection(type="surface", + addSelection(type="cartoon", param = list(name = "all_mutations_surface", sele = "all", - color="tan", + #color="tan", + colorScheme = "bfactor", opacity = 0.2 ) ) %>% - addSelection(type="surface", + addSelection(type="spacefill", param = list(name = "all_mutations", - color="red", + color="orange", sele = mutations #colorScheme = "bfactor", #opacity = 1