PyWGCNA
I am using pyWGCNA to analyze 37 samples x 50000 genes.
I got the following error in analyseWGCNA().
What should I do? Please give me your opinion.
wgcna
• 4,122 views
•
link
written
by
yoshifumimiya •
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Use limma for correlation analysis of RNA-seqdata and continous trait
written by Yibin •Hi, there I want to use voom function in limma package to analyze the correlations between expression and age(continous data). I am not sure whether …
-
Error input data must be numeric in R, how to solve it? (.txt)
written by n.emamijoo •![enter image description here][1] I have a problem, when I input data (.txt), and I want to perform `x.cor<- cor(x)` in R, I got an …
-
Error while running Virusfinder
written by DC •I got an error while running Virusfinder. Please find the attached image for the details of the error, also `blat_out_candidate_singlelane.fa` is 0 in size. Can …
-
HISAT2 paired end multiple files loop error
written by SH •Hi, I got stuck with running hisat2 with a loop. my input files are here, ![enter image description here][1] here is my loop code, for …
-
facing difficulty while interpreting mean-variance trend plot in GEO2R
written by ElfoHelpo •Hi, I am beginner in analyzing GEO array database. I got this Mean-variance trend plot result while I assess one of GEO series array data …
-
How to import a csv file as DESeq2 object which contains non-integers value?
written by Anisur Rahman •I have a data set in CSV format which contains non-integer values as shown in the following figure: ![enter image description here][1] I guess this …
-
Can not plot degree distribution in Cytoscape Network Analyzer on logscale
written by bhodai •I am using Cytoscape 3.9.0. When I tried - Tools > Analyze Network, the following window poped-up ![enter image description here][1] When I clicked on …
-
GSEA error 1005
written by komalkharat12345 •Hello I am trying to analyze human gene sets for their expression in tumor. I am facing an error saying "The collapsed dataset was empty …
-
Deseq same padj values for a lot of genes but with different p-values
written by yanyanwu •I used DEseq to find differentially expressed genes between two samples, for each sample i have 3 replicates, for the DEseq result, i got exactly …
-
[Errno 2] No such file or directory: '0-rawreads' when I run Falcon unzip with hifi data
written by Feng •Hi all, I am running the falcon-unzip in a server, but got this error ![enter image description here][1] Here ia my fc_unzip.cfg file ![enter image …
please read about reproducible examples (reprex) and then alter your post. E.g., here: https://reprex.tidyverse.org/
Thank you for your comment.
I apologize for the inadequacy of my question. I am having trouble understanding how to use "reprex" or "pyreprex". I am using Google colaboratory for python analysis. I have copied the more detailed code and output to Github and will attach it.
pyWGCNA question
Any valuable feedback from you would be greatly appreciated. Best regards.
Very nice!!! I will work on this at some time today when I have time. Until then, I can offer this:
the function that is throwing the error is not a part of the pyWGCNA package.
Instead,
pyWGCNAcallsSeaborn, andSeaborncallsmatplotlib.Now, within matplotlib, a function in _base.py() calls
shrunk_to_aspect(), which ultimately throws the error. The best way forward is to google that exact error message. Doing that will show you a couple threads of people having the same problem in different scenarios: Sometimes you can study those scenarios and find a workaround.Consider this thread. In their case,
geopandascallsmatplotlib, notseaborn, but the solution could be the same or similar to your case.Will look more when have time.
Thanks for your response!!
I believe box_aspect is the cause of the error.
According to Google, the above code was added as a similar error countermeasure. However, since pyWGCNA is a library, it could not be incorporated from the outside.
Yes - I think it is, because the
fig_aspectvariable is set to 1 by default (transforms.py, line 522).That's true, BUT you could temporarily alter the the
shrunk_to_aspect()function withintransforms.py, or perhaps one of the functions in_base.py()file within thematplotlibpackage, by writing:you could the hardcode the
box_aspectvariable, for instance, then change it back afterwards.Thank you for your valuable input!!
I will try your suggestion.
This is definitely not one of the easier / quicker debugging problems you come across - it is pretty difficult.
please feel free to continue posting updates if you get stuck.
VAL
Yoshi - Were you able to figure this out?
Hi, VAL! I'm still trying to figure this out. Will be working on it this weekend.
I will report back with or without progress.
Your thoughts are correct.
I have rewritten the code in transforms.py but noticed that it is not reflected.
PyWGCNA_question_2
I am thinking of incorporating "box_aspect = 1" if there is a way to reflect this..,