This is a test version of Biostars. For the public version, visit https://www.biostars.org.
WGCNA GOOD SAMPLE GENE CODE ERROR

Dear all,

I'm new in R and I'm using the WGCNA package to build a co-regulation network from my RNASeq data. I'm following the WGCNA tutorial but I have an error message when I try to run the goodSamplesGenes function. I have 46483 observations and 4 variables. Could anyone help me in this regard?

gsg = goodSamplesGenes(datExpr0, verbose = 3); Flagging genes and samples with too many missing values... ..step 1 Error in goodGenes(datExpr, weights, goodSamples, goodGenes, minFraction = minFraction, : datExpr must contain numeric data. gsg$allOK Error: object 'gsg' not found

wgcna

The error message is self-explanatory: datExpr must contain numeric data

0 answers

No answers yet.

Log in to answer this question.