当我运行以下命令时:
interactive_plot <- plot_ly(
data = vep_wes_aff_rare_summary,
x = ~n,
y = ~mean_af,
type = "scatter",
mode = "markers",
hoverinfo = "text",
text = ~paste("Var: ", rsIDs, '<br><br>Cases:', n, '<br><br>Mean_AF:', mean_af),
color = ~mean_af,
size = ~n,
marker = list(sizeref=0.1)
)%>%
layout(
title = 'SFARI - SCN2A Variants<br>WES SNPs/ Indels filtered by VEP(High/ Mod)',
xaxis = list(type = "log", title = "Cases", family='Courier New',size=22, color='#7f7f7f'),
yaxis = list(title = "Average Allele Frequency", family='Courier New', size=22, color='#7f7f7f', tickformat = '.1%')
)
interactive_plot
我收到此错误:
Warning message:
`line.width` does not currently support multiple values.
我尝试注释掉list(,,,)
行中的几行。我必须做一个演示,而不希望在舞台上出现错误/警告。