Delete NAN values within a list of several components WGCNA
0
0
Entering edit mode
7.6 years ago

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 • 1.5k views
ADD COMMENT
0
Entering edit mode

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.

ADD REPLY

Login before adding your answer.

Traffic: 1710 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