已解决
infercnv hpc东南服务器 .libpath 最终使用monocle2环境安装
来自网友在路上 174874提问 提问时间:2023-10-31 15:06:42阅读次数: 74
最佳答案 问答题库748位专家为你答疑解惑
安装不成功就用conda安装 conda install -c bioconda bioconductor-infercnv
Installing infercnv
There are several options for installing inferCNV. Choose whichever you prefer:
Option A: Install infercnv from BioConductor (preferred)
From within R, run the following:
if (!requireNamespace("BiocManager", quietly = TRUE))install.packages("BiocManager")
BiocManager::install("infercnv")
Option B: Install infercnv from BioConductor devel (latest version)
From within R, run the following:
if (!requireNamespace("BiocManager", quietly = TRUE))install.packages("BiocManager")
BiocManager::install(version = "devel")
BiocManager::install("infercnv")BiocManager::install("plyranges")
Option C: Install infercnv from the Release tar.gz file
If installing using command line, download the latest release of InferCNV. Then use the following command on command line.
R CMD install infercnv.tar.gz
Option D: Install infercnv from within R using devtools
If installing from directly within R, you can instead use the following command from within R.
conda install -c "conda-forge/label/gcc7" jags
library("devtools")
devtools::install_github("broadinstitute/infercnv")
Option E: Install inferCNV by pulling the code using git followed by source installation:
Alternatively, you can pull the code from github and install it like so:
git clone https://github.com/broadinstitute/infercnv
cd infercnv
R
> install.packages("./", repos=NULL, type="source")
.libPaths(c("/seu_share/home/chaojie/230218989/anaconda3/envs/r4.2.2/lib/R/library"))其实不需要library,只要进入r4.2.2的环境就可以library(infercnv) #https://github.com/broadinstitute/inferCNV/wiki
library(dplyr)
library(Seurat)
library(ggplot2)
library(parallelDist)
options(scipen = 100)
options(error = function() traceback(2))
Cstack_info()
查看全文
99%的人还看了
相似问题
猜你感兴趣
版权申明
本文"infercnv hpc东南服务器 .libpath 最终使用monocle2环境安装":http://eshow365.cn/6-28749-0.html 内容来自互联网,请自行判断内容的正确性。如有侵权请联系我们,立即删除!
- 上一篇: 设计交换机原理图前应先理清的框图
- 下一篇: 小鼠单克隆抗体制备FAQ