如何在 phyloseq 的 plot_net 功能中调整字体大小?

How to resize font in plot_net feature of phyloseq?

我想在 plot_net 中调整文本大小,但 none 选项对我有用。我在努力

p <- plot_net(physeqP, maxdist = 0.4, point_label = "ID", color = "Cond", shape = "Timeperiod") p + geom_text(size=15)

这给我错误

"Error: geom_text requires the following missing aesthetics: x, y, label".

谁能告诉我如何解决这个问题?

我不想调整图例或轴的大小,但要调整节点文本。

this image is drawn using phyloseq but since the font size is very small, i want to make it prominent.

没有示例就很难重现。

p <- plot_net(physeqP, maxdist = 0.4, point_label = "ID"
     , color = "Cond", shape = "Timeperiod", cex_val  = 2) 

我相信这与 NeuralNetTools 包有关。

尝试使用:cex_val 表示文本标签大小的数值,默认值 1

https://www.rdocumentation.org/packages/NeuralNetTools/versions/1.5.0/topics/plotnet