Dear all,
I'm new in R and I'm using WGCNA package to build a co-regulation network from my RNASeq data. I'm following the WGCNA tutorial but I have a error message when I try to run the goodSamplesGenes function. My RNASeq matrix has 7 conditions with more than 9,000 differentially expressed genes. The experiment was carry out with two biological replicates for each condition and the reads have already been normalized to RPKM. Could anyone help me in this regards?
> gsg = goodSamplesGenes(datExpr0, verbose = 3)
Flagging genes and samples with too many missing values...
..step 1
Error in goodGenes(datExpr, goodSamples, goodGenes, minFraction = minFraction, :
Too few genes with valid expression levels in the required number of samples.
*datExpr0 it's a data.frame where the genes and the samples are the columns and rows, respectively, like it was done in the WGCNA tutorial.
goodSamplesGenes( datExpr, minFraction = 1/2, minNSamples = ..minNSamples, minNGenes = ..minNGenes, verbose = 1, indent = 0)