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