ClusterGVis icon indicating copy to clipboard operation
ClusterGVis copied to clipboard

Error: unable to find an inherited method for function ‘exprs’ for signature ‘object = "function"’

Open fcbg666 opened this issue 10 months ago • 7 comments

ck <- clusterData(exp = mat, cluster.method = "kmeans", cluster.num = 5)

Error: unable to find an inherited method for function ‘exprs’ for signature ‘object = "function"’

作者大大,跑单细胞数据时出现了这个问题,换成示例数据也不行,包已经重新安装过了,求助!

fcbg666 avatar Mar 14 '25 04:03 fcbg666

作者大大,我也遇到了这个问题。我就是一个普通的转录组矩阵,我看了这个filter.std这个函数里面的exprs,好像要求的数据结构不对 。不知道咋解决,求助呀

pdxxxlm avatar Mar 14 '25 04:03 pdxxxlm

我也遇到了同样的问题,由monocle3的cds对象提取得到了部分gene的表达矩阵mat ck <- clusterData(exp = mat, cluster.method = "kmeans", cluster.num = 5) Error: unable to find an inherited method for function ‘exprs’ for signature ‘object = "function"’ 摸不着头脑哪里出了问题,求解惑,thanks!!

Gloriacyy avatar Mar 16 '25 09:03 Gloriacyy

同样的问题,重装R包也不行。

hxpGit512 avatar Mar 16 '25 13:03 hxpGit512

obj=mat,看一下函数说明文档

junjunlab avatar Mar 17 '25 00:03 junjunlab

已收件

hxpGit512 avatar Mar 17 '25 00:03 hxpGit512

我可能找到了error原因,输入mat后,clusterData中有个步骤filter.std对mat进行处理,如果mat输入前已经做了normalization或者log等等处理,可能会导致报错,可以重新梳理一下mat的前期处理情况

Gloriacyy avatar Mar 17 '25 06:03 Gloriacyy

obj=mat,看一下函数说明文档

大哥这个才是正确原因,大意义了,跟着网上教程走

mengchengyao avatar Apr 18 '25 02:04 mengchengyao