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()
相关推荐
碳基沙盒2 天前
OpenClaw 多 Agent 配置实战指南
运维
Sinclair3 天前
简单几步,安卓手机秒变服务器,安装 CMS 程序
android·服务器
Rockbean4 天前
用40行代码搭建自己的无服务器OCR
服务器·python·deepseek
蝎子莱莱爱打怪5 天前
Centos7中一键安装K8s集群以及Rancher安装记录
运维·后端·kubernetes
茶杯梦轩5 天前
CompletableFuture 在 项目实战 中 创建异步任务 的核心优势及使用场景
服务器·后端·面试
海天鹰5 天前
【免费】PHP主机=域名+解析+主机
服务器
DianSan_ERP5 天前
电商API接口全链路监控:构建坚不可摧的线上运维防线
大数据·运维·网络·人工智能·git·servlet
呉師傅5 天前
火狐浏览器报错配置文件缺失如何解决#操作技巧#
运维·网络·windows·电脑
不是二师兄的八戒5 天前
Linux服务器挂载OSS存储的完整实践指南
linux·运维·服务器
芝士雪豹只抽瑞克五5 天前
Nginx 高性能Web服务器笔记
服务器·nginx