First, please read WGCNA FAQ at
https://labs.genetics.ucla.edu/horvath/CoexpressionNetwork/Rpackages/WGCNA/faq.html
regarding using RNA-seq and other count data.
Second, if you insist on using WGCNA on raw count data (which I don't
recommend), use something like
storage.mode(datExpr) = "double"
and try again.
Peter
On Sun, Jul 9, 2017 at 2:29 AM, Ankush Sharma <ankush.sak at gmail.com>
wrote:> Dear all ,
>
> I would like to reconstruct coexpression networks from proteomic count data
> having integer values. Some internal function doesn't like to work well
with
> integers. How can this error be rectified?
>
>
>> adjacency = adjacency(datExpr, power = softPower, type =
"signed");
> Error in cor(datExpr, use = "p") :
> REAL() can only be applied to a 'numeric', not a 'integer'
>
>
>
> Appreciate your help , Many thanks
>
> Best Regards,
> Ankush Sharma