两年了还是没有R包,所以就得在Linux操作啦,而这在Windows的RStudio操作是满屏的error呀!
先Git clone一下,总是下载不了:git clone https://github.com/edroaldo/cellrouter.git
看来只能弄一下wget直接下载压缩包了,多次尝试都失败,下载的文件不完整:wget https://github.com/edroaldo/cellrouter/archive/master.zip
最终还是git clone搞定,大小也匹配:
https://static-content.springer.com/esm/art%3A10.1038%2Fs41467-018-03214-y/MediaObjects/41467_2018_3214_MOESM14_ESM.txt
先一步一步运行作者的tutorial:
edroaldo/cellrouter: Reconstruction of complex single-cell trajectories using CellRouter
https://github.com/edroaldo/cellrouter
list.of.packages 'reshape',new.packages list.of.packages[!(if(length(new.packages)) install.packages(new.packages, repos=c("http://cran.rstudio.com/", "https://bioconductor.org/biocLite.R"))install.packages("Vennerable", repos="http://R-Forge.R-project.org")
很多包安装失败:
因此自己一个个安装:
if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager")BiocManager::install("")
愣是没搞定,因此sudo R之后继续运行代码:
成功!我安装了三个小时呀!方法错误就是坑爹!
然后继续:
遇到同样的问题,然后作者的意思是版本更新?