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()
相关推荐
你想考研啊1 小时前
四、jenkins自动构建和设置邮箱
运维·jenkins
Code blocks1 小时前
使用Jenkins完成springboot项目快速更新
java·运维·spring boot·后端·jenkins
snoopyfly~1 小时前
Ubuntu 24.04 LTS 服务器配置:安装 JDK、Nginx、Redis。
java·服务器·ubuntu
饥饿的半导体2 小时前
Linux快速入门
linux·运维
Me4神秘2 小时前
Linux国产与国外进度对垒
linux·服务器·安全
还是奇怪4 小时前
Linux - 安全排查 2
linux·运维·安全
牛奶咖啡135 小时前
Linux系统的常用操作命令——文件远程传输、文件编辑、软件安装的四种方式
运维·服务器·软件安装·linux云计算·scp文件远程传输·vi文件编辑·设置yum的阿里云源
weixin_437398215 小时前
转Go学习笔记(2)进阶
服务器·笔记·后端·学习·架构·golang
难受啊马飞2.05 小时前
如何判断 AI 将优先自动化哪些任务?
运维·人工智能·ai·语言模型·程序员·大模型·大模型学习
会又不会5 小时前
Jenkins-Email Extension 插件插件
运维·jenkins