bioNeuro plot_expression_profile - how to order samples in plot output
0
2
Entering edit mode
Christopher ▴ 20
@fb1e3c31
Last seen 13 months ago
United States

Hello,

The BioNeuro package enables plotting of WGCNA module expression profiles using the plot_expression_profile functions and annotates the plots with the "Experiment" metadata provided by the user. I wish to control the order of the samples in the output plot, but can't see an obvious solution for doing that. The default order of the samples in the plot output does not follow the order of the samples provided in the "exp" or "metadata" parameter inputs.

Thank you for suggestions on a solution.

include your problematic code here with any corresponding output

plot_expression_profile(
  exp = final_exp, 
  net = net, 
  metadata = df.meta,
  plot_module = TRUE, 
  modulename = "floralwhite"
)''


# please also include the results of running the following in an R session 

sessionInfo( )
R version 4.3.1 (2023-06-16)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Monterey 12.6.7

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/Denver
tzcode source: internal

attached base packages:
[1] stats4    stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] DESeq2_1.40.2               SummarizedExperiment_1.30.2 Biobase_2.60.0             
 [4] MatrixGenerics_1.12.3       matrixStats_1.0.0           GenomicRanges_1.52.0       
 [7] GenomeInfoDb_1.36.3         IRanges_2.34.1              S4Vectors_0.38.1           
[10] BiocGenerics_0.46.0         edgeR_3.42.4                limma_3.56.2               
[13] Glimma_2.10.0               BioNERO_1.8.7               gplots_3.1.3               
[16] reshape2_1.4.4              viridis_0.6.4               viridisLite_0.4.2          
[19] pheatmap_1.0.12
plot_expression_profile BioNERO • 402 views
ADD COMMENT

Login before adding your answer.

Traffic: 681 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6