Comments (7)
Hi,
it looks like you do have negative values, right?
also, preprocess() will run goodSamplesGenes(), why did you run it before you pass your matrix?
from pywgcna.
Hello, thank you for responding.
The goodSamplesGenes() was a oversight from an earlier test and has been removed.
What do you advise for the script? Is the negative values the cause?
from pywgcna.
it might be but I'm not sure ...
can you send me a subset of your data that will give you the same error?
you can change the row and column names of your data with something else if your data is not publicly available
from pywgcna.
data_heart_left_ventricle_sample.csv
Here is a subset of the dataset I am using, it is from https://gtexportal.org/home/datasets
from pywgcna.
I was able to run PyWGCNA on the dataset you provided!
I would suggest check the version of all your all the other packages which I listed mine here
also the python version I have is 3.10.4
I also put my script bellow just in case
import PyWGCNA
import pandas as pd
tpm = pd.read_csv('data_heart_left_ventricle_sample.csv', index_col=0)
test = PyWGCNA.WGCNA(name='GTEX-111FC',
species='Humans',
geneExp=tpm,
TOMType='unsigned',
powers=[10],
networkType="unsigned",
save=True)
test.preprocess()
test.findModules()
from pywgcna.
Thank you!
I reinstalled my packages with the same versions as the PyWGCNA requirements and everything runs as intended!
Before this issue is closed, are there any plans to add support for Cytoscape networks in future versions of PyWGCNA?
https://manual.cytoscape.org/en/stable/Supported_Network_File_Formats.html
from pywgcna.
great!
Sorry but for now, I don't have a plan to add support for Cytoscape networks:)
but if you want to give it a shot, you're welcome to do and I will be happy to help you integrate that with PyWGCNA
from pywgcna.
Related Issues (20)
- how to set figsize HOT 2
- SystemExit: All your genes ended up in one modules! Reconsider your input parameters in order to get more modules. HOT 6
- module_trait_relationships_heatmap HOT 4
- Pandas error HOT 4
- ask for some questions HOT 3
- Image too large. How suppress drawing when using pyWGCNA_obj.preprocess() ? HOT 3
- RecursionError when run pyWGCNA_ct.preprocess() HOT 1
- getDatTraits method might not be suitable for continuous traits. HOT 1
- How adjust parameter in functions??
- Genes and samples switched in goodSamplesGenes HOT 3
- error experienced in tutorial HOT 6
- Doubt on application HOT 1
- What other methods to define metadata colors are allowed, besides color labels ('black', 'pink', etc)? HOT 1
- Seeking help on `order` Parameter Usage and Metadata Color Settings HOT 13
- a issue for findModules() HOT 3
- findModules() inappropriately passes all kwargs to pickSoftThreshold() and cuttreeHybrid() HOT 2
- Re-naming modules HOT 1
- In the module Network Plot, Can we label the node as gene_name instead of gene_id ? HOT 2
- Several errors when performing findModules steps individually HOT 8
- 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pywgcna.