This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Delete NAN values within a list of several components WGCNA

Hello, Im working with WGCNA, and I run all the code good except when I run the module Eigengenes, in which I got NAN values. How can I delete them?

I realized the structure of MEList is a list with several components (12 in this case). And I get MEgrey module with NaN values. It affects downstream process. How can I solve this?

MEList1 = moduleEigengenes(datExpr, colors = dynamicColors)

str(MEList1)

List of 12

 $ eigengenes  :'data.frame':   15 obs. of  59 variables:

  $ MEbisque4        : num [1:15] -0.195 -0.424 -0.399 -0.315 0.296 ...

  $ MEgrey           : num [1:15] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ...

  $ MEgrey60         : num [1:15] -0.1556 -0.2304 -0.2371 -0.1066 -0.0272 ...
rna-seq wgcna

I added 'wgcna' as a tag to your question so people can easily find your post. 'rna-seq' is way to generic.

I would wonder how I got these NaN values, and solve that, rather than trying to remove them.

0 answers

No answers yet.

Log in to answer this question.