跑monocle的时候,使用pData和fData函数时发现如下报错
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'head': unable to find an inherited method for function ‘pData’ for signature ‘"CellDataSet"’
解决方案:我的环境里存在monocle3包,把这个包移除加载就行了
代码:detach("package:monocle3",unload = TRUE)