fix for bugs in barplotModuleEigenGene casued by sort and also a type…#135
fix for bugs in barplotModuleEigenGene casued by sort and also a type…#135gitbenlewis wants to merge 6 commits intomortazavilab:mainfrom
Conversation
…(colorBar) == dict line
|
adding this code to the Quick_Start.ipynb will reproduce the error import pandas as pd read the metadata file and append sex to the Genotype columnmetadata = pd.read_csv('./5xFAD_paper/sampleInfo.csv') save the metadata filemetadata.to_csv('./5xFAD_paper/sampleInfo2.csv', index=False) #pyWGCNA_5xFAD.updateSampleInfo(path='5xFAD_paper/sampleInfo.csv', sep=',') add color for metadatapyWGCNA_5xFAD.setMetadataColor('Sex', {'Female': 'green', pyWGCNA_5xFAD.setMetadataColor('Genotype_sex', {'5xFADWTFemale': 'darkviolet', |
|
Hi, Here is my suggestion. Best |
Delete build/lib/PyWGCNA directory
…with only two values
…n dataset a background to increase power

fix for bugs in barplotModuleEigenGene casued by sort and also a type(colorBar) == dict line