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()
相关推荐
真正的醒悟23 分钟前
2025【1460天】网络工程师经验之道
运维·服务器
Tim风声(网络工程师)3 小时前
不同射频对应不同mac地址(查找无线用户连接AP信息)
服务器·网络·tcp/ip·智能路由器·无线ap
JosieBook5 小时前
【远程运维】Linux 远程连接 Windows 好用的软件:MobaXterm 实战指南
linux·运维·windows
鳄鱼杆7 小时前
服务器 | Docker应用开发与部署的实践以及阿里云镜像加速配置
服务器·阿里云·docker
羚羊角uou7 小时前
【Linux】命名管道
linux·运维·服务器
IT 小阿姨(数据库)7 小时前
PgSQL监控死元组和自动清理状态的SQL语句执行报错ERROR: division by zero原因分析和解决方法
linux·运维·数据库·sql·postgresql·centos
曾经的三心草8 小时前
Python2-工具安装使用-anaconda-jupyter-PyCharm-Matplotlib
android·java·服务器
逍遥浪子~8 小时前
docker实践(一)
运维·docker·容器
AI云原生8 小时前
如何使用Docker快速运行Firefox并实现远程访问本地火狐浏览器的教程
运维·docker·云原生·容器·serverless·firefox·kubeless
今生相伴9919 小时前
ELFK:企业级日志管理的完整解决方案——从入门到精通
运维·elk·elasticsearch