ShawnWx2019 / WGCNA-shinyApp

shiny app for WGCNA...
MIT License
23 stars 10 forks source link

Error in `plot_theme()`: ! The `legend.text.align` theme element is not defined in the element hierarchy. #5

Open yjiang296 opened 8 months ago

yjiang296 commented 8 months ago

... 19 28 0.8110 -1.630 0.942 16.2 3.16 207 20 30 0.7870 -1.670 0.929 13.3 2.31 182 Error in plot_theme(): ! The legend.text.align theme element is not defined in the element hierarchy. Run rlang::last_trace() to see where the error occurred.

Hello, I happened to this problem, and I have tried many ways but in vain, can you give me any hint?

[PS:my code are

expdat <- read.delim("/Users/yjiang/Documents/projects/杂种胚/wgcna/graph.BMMB.fpkm.trimed.txt",header = T) traitdat <- read.delim("/Users/yjiang/Documents/projects/杂种胚/wgcna/BMMB.trimmed_traits.txt",header = T)

oneStepWGCNA( exp.mat = expdat, lazy_modle = T, save_fig = T, F.path = "/Users/yjiang/Documents/projects/杂种胚/wgcna",iterative=T, grey_cut = 1, datatype = 'FPKM', r_cutoff = 0.3, pheofile = traitdat ) ]