goodSamplesGenesMS non-numeric variable in data frame multiExpr
1
0
Entering edit mode
6.9 years ago

Running gsg = goodSamplesGenesMS(multiExpr, verbose = 3);

I'm getting the following error

Flagging genes and samples with too many missing values... ..step 1 Error in Math.data.frame(multiExpr[[set]]$data) : non-numeric variable in data frame: ENSTGUG00000005746 (ZFAND2B)ENSTGUG00000004410 (IARS)ENSTGUG00000016936ENSTGUG00000011054ENSTGUG00000004309ENSTGUG00000017737 (SNORA14)ENSTGUG00000016937

Would anyone have a guess on how to fix it?

wgcna • 1.9k views
ADD COMMENT
0
Entering edit mode
6.9 years ago
Lluís R. ★ 1.2k

I guess (it would be better if you provide information about your multiExpr) that you have characters instead of numbers in one of the matrices. Check that with sapply(multiExpr, function(x){all(sapply(x$data, is.numeric))})

ADD COMMENT

Login before adding your answer.

Traffic: 1444 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6