infercnv hpc东南服务器 .libpath 最终使用monocle2环境安装

安装不成功就用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()
相关推荐
m0_7482540940 分钟前
2025最新华为云国际版注册图文流程-不用绑定海外信用卡注册
服务器·数据库·华为云
MUY09901 小时前
应用控制技术、内容审计技术、AAA服务器技术
运维·服务器
楠奕1 小时前
elasticsearch8.12.0安装分词
运维·jenkins
Sadsvit1 小时前
源码编译安装LAMP架构并部署WordPress(CentOS 7)
linux·运维·服务器·架构·centos
java资料站1 小时前
Jenkins
运维·jenkins
苦学编程的谢2 小时前
Linux
linux·运维·服务器
G_H_S_3_2 小时前
【网络运维】Linux 文本处理利器:sed 命令
linux·运维·网络·操作文本
拾心213 小时前
【运维进阶】Linux 正则表达式
linux·运维·正则表达式
xcs194053 小时前
AI 自动化编程 trae 体验 页面添加富编辑器
运维·自动化·编辑器
Gss7773 小时前
源代码编译安装lamp
linux·运维·服务器