24小时热门版块排行榜    

查看: 3326  |  回复: 1

背包咪

新虫 (初入文坛)

[求助] 在有R做WGCNA时出现了NaN dissimilarity value. 怎么办

> gag=goodSamplesGenes(dataExpr,verbose=3)
Flagging genes and samples with too many missing values...
  ..step 1
  ..Excluding 21341 genes from the calculation due to too many missing samples or zero variance.
  ..Excluding 1 samples from the calculation due to too many missing genes.
  ..step 2
> gsg$allOKsampleTree=hclust(dist(dataExpr),method="average"
Error in hclust(dist(dataExpr), method = "average" :
  NaN dissimilarity value.
  
我在用R做WGCNA,在样本聚类检查离群值时,有了这个错误,这是为什么啊?怎么办啊?
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zdhwy

新虫 (小有名气)

我现在也遇到了同样的问题,请问您当时是如何处理的,谢谢!!!
2楼2021-09-04 22:23:55
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 背包咪 的主题更新
信息提示
请填处理意见