Entering edit mode
''' getwd();
workingDir = ".";
setwd(workingDir);
library(WGCNA);
options(stringsAsFactors = FALSE);
femData = read.csv("GSE78929_series_matrix (1).csv");
dim(femData);
names(femData);
datExpr0 = as.data.frame(t(femData[, -c]));
names(datExpr0) = femData$substanceBXH;
rownames(datExpr0) = names(femData)[-c];
gsg = goodSamplesGenes(datExpr0, verbose = 3);
gsg$allOK
'''
output
datExpr0 = as.data.frame(t(femData[, -c]));
Error in -c : invalid argument to unary operator
> names(datExpr0) = femData$substanceBXH;
Error in names(datExpr0) = femData$substanceBXH :
object 'datExpr0' not found
> rownames(datExpr0) = names(femData)[-c];
Error in -c : invalid argument to unary operator
> gsg = goodSamplesGenes(datExpr0, verbose = 3);
Flagging genes and samples with too many missing values...
..step 1
Error in as.matrix(datExpr) : object 'datExpr0' not found
> gsg$allOK
Error: object 'gsg' not found
>