R inferCNV 安装报错: rjags R 安装报错 automatic detection of JAGS failed. Please use pkg-config to locate the JAGS

JAGS


1.首先安装依赖的 JAGS

tar zxvf JAGS-4.3.0.tar.gz

./configure --prefix=/share/work/biosoft/JAGS/JAGS-v4.3.0



2.设置环境变量:


export JAGS_PREFIX=/share/work/biosoft/JAGS/JAGS-v4.3.0

export JAGS_LIBDIR=$JAGS_PREFIX/lib

export JAGS_INCLUDEDIR=$JAGS_PREFIX/include

export LD_LIBRARY_PATH=/share/work/biosoft/JAGS/JAGS-v4.3.0/lib/:$LD_LIBRARY_PATH

3.安装 rjags
install.packages('rjags', configure.args='--with-jags-include=/share/work/biosoft/JAGS/JAGS-v4.3.0/include/JAGS --with-jags-lib=/share/work/biosoft/JAGS/JAGS-v4.3.0/lib/JAGS  --with-jags-modules=/share/work/biosoft/JAGS/JAGS-v4.3.0//lib/JAGS/modules-4  --with-jags-bin=/share/work/biosoft/JAGS/JAGS-v4.3.0//bin')

4.安装inferCNV
BiocManager::install("infercnv")

  • 发表于 2022-03-29 17:17
  • 阅读 ( 2968 )
  • 分类:R

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

702 篇文章

作家榜 »

  1. omicsgene 702 文章
  2. 安生水 351 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. xun 82 文章
  6. rzx 78 文章
  7. 红橙子 78 文章
  8. CORNERSTONE 72 文章