「En」Reasons and solutions for common error messages. - ShawnWx2019/WGCNA-shinyApp GitHub Wiki

Data cleaning stage

Error messages 01

wrong sign in 'by' argument
'by'参数的正負號不对

Reason: The number of option Reserved genes Num. is larger than the total number of genes which was filtered by step1. There are a total of 10,000 genes in the expression matrix file, and 8,000 genes are left after filtering noise, but if you still choose 10,000 or more, this error will be prompted.

Solution: Choose a smaller Reserved genes Num

SFT stage

Module-net stage

Module-trait stage

Error messages 01

Error in data.frame: duplicate 'row.names' are not allowed
row.names有重复

Reason: We found that the main reason for this error is that when you prepare the traitdata file, there are many blank lines in the file, these blank lines will not be removed when import in to R. The first column will be converted to rownames. The blank cells was treated as repeat row.names.

Solution: Open traitdata file with software such as sublime text or editplus, delete all blank lines or other characters after useful information.

Interested module stage

Hubgene stage