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()
相关推荐
大佐不会说日语~10 分钟前
使用Docker Compose 部署时网络冲突问题排查与解决
运维·网络·spring boot·docker·容器
2501_927773071 小时前
uboot挂载
linux·运维·服务器
Tim风声(网络工程师)2 小时前
防火墙-长链接、介绍作用
运维·服务器·网络
橙露2 小时前
NNG通信框架:现代分布式系统的通信解决方案与应用场景深度分析
运维·网络·tcp/ip·react.js·架构
小徐敲java2 小时前
(运维)1Panel服务器面板Docker部署
运维·服务器·docker
得赢科技2 小时前
智能菜谱研发公司推荐 适配中小型餐饮
大数据·运维·人工智能
goxingman2 小时前
在 Linux 中查看磁盘运行占用(I/O 使用率)
linux·运维·chrome
小天源2 小时前
XShell一台控制多台操作详情
linux·运维·服务器
杨江3 小时前
Claude Code开发python应用场景要求
运维
星夜落月3 小时前
Certimate证书自动化管理:从零开始的私有化部署指南
运维·自动化·ssl