Skip to content

Commit

Permalink
draw.2D.interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
SherryDong committed Mar 27, 2024
1 parent 121b00c commit b7c4b29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/pipeline_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -3588,8 +3588,9 @@ draw.2D.interactive <- function(X,Y,sample_label=NULL,color_label=NULL,shape_lab
hoverinfo='text',text=display_text,
mode='markers',symbol=~shape_label) %>%
plotly::layout(title = main,
yaxis = list(zeroline = FALSE,title=list(text=xlab)),
xaxis = list(zeroline = FALSE,title=list(text=ylab),showlegend=TRUE)
xaxis = list(zeroline = FALSE,title=list(text=xlab)),#20240327
yaxis = list(zeroline = FALSE,title=list(text=ylab),
showlegend=TRUE)
)
}
if(is.null(shape_label)==TRUE & is.null(color_label)==FALSE){
Expand Down

0 comments on commit b7c4b29

Please sign in to comment.