r - 在染色体上绘制映射的 SNP?
问题描述
我试图绘制一个图,如附加的“Mapsnp:绘制单核苷酸多态性基因组图的 R 包”。我无法在 R 中安装软件包,我想知道有没有其他方法?
File A:
GeneA chr2 100 200
File B:
rs12 chr2 50 51
rs23 chr2 201 202
rs34 chr2 105 106
>install.packages("mapsnp")
Installing package into ‘/home/R/x86_64-pc-linux-gnu-
library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘mapsnp’ is not available (for R version 3.5.2)
> library("devtools")
Loading required package: usethis
> install_github("csuzfq/mapsnp_pkg/mapsnp")
Downloading GitHub repo csuzfq/mapsnp_pkg@master
Skipping 2 packages not available: Gviz,
TxDb.Hsapiens.UCSC.hg19.knownGene
✔ checking for file ‘/tmp/RtmpT9p596/remotes341269c2a94b/csuzfq-
mapsnp_pkg-cb6c8bf/mapsnp/DESCRIPTION’ ...
─ preparing ‘mapsnp’:
✔ checking DESCRIPTION meta-information
Warning in file(con, "r") :
cannot open file 'man': No such file or directory
ERROR
computing Rd index failed:cannot open the connection
Error: Failed to install 'mapsnp' from GitHub:
System command error, exit status: 1, stderr:
E> Warning in file(con, "r") :
E> cannot open file 'man': No such file or directory
解决方案
推荐阅读
- c# - Accessing Webmethods from Class Library
- java - Java中的观察者模式没有继承
- python - Django 自定义标签 - 标签未注册
- c# - 混合 C++ 和 .net 的线程本地存储
- angularjs - AngularJS 预加载页面(离线模式)
- c++ - CMake 找不到请求的 Boost 库
- android - 带有 SortedList 的 RecyclerView 显示重复项
- php - PHP 在类的静态方法中调用函数
- jenkins - Windows 中的 Jenkins 工作区设置问题
- java - 比较文本文件中类似字符串的行