Monocle 2 中 orderCells () 报错问题解决方法

1. download monocle from https://www.bioconductor.org/packages/3.15/bioc/src/contrib/Archive/monocle/

2. decompress the package 'monocle_2.24.0.tar.gz', and get a 'monocle' folder.

3. open the folder 'monocle/R', change the code in function 'project2MST()' in the 'order_cell.R' file: change from

if(class(projection) != 'matrix')
projection <- as.matrix(projection)

to

projection <- as.matrix(projection)

4. save the 'order_cell.R' file.

5. windows 安装 7-Zip 软件,先压缩成tar文件,再压缩成gz文件。

6. 安装monocle_2.24.0.tar.gz软件。

7.Done. and managed to run the 'orderCells(cds)'.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容