goodSamplesGenesMS non-numeric variable in data frame multiExpr
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?
• 2,316 views
•
link
1 answer
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))})
• 0 views
•
link
Log in to answer this question.