当前位置:网站首页>Two methods of chromosome coordinate sequencing
Two methods of chromosome coordinate sequencing
2022-07-07 04:48:00 【Mrrunsen】
This problem is often encountered when drawing , There are some NGS Software will also encounter . Use the following code to simulate the data
pos_df=do.call(rbind,lapply(1:10, function(i){
data.frame(gene=paste0('gene',i,LETTERS),
chr=sample(paste0('chr',1:22),26,replace = T),
start= sample(1:1000,26))
}))
pos_df=pos_df[with(pos_df,order(chr,start)),]
pos_df$chr=as.factor(pos_df$chr)
plot(pos_df$chr,pos_df$start,las=2)
First of all, our sequencing is not in chromosome order , It is
> levels((pos_df$chr))
[1] "chr1" "chr10" "chr11" "chr12" "chr13" "chr14" "chr15" "chr16"
[9] "chr17" "chr18" "chr19" "chr2" "chr20" "chr21" "chr22" "chr3"
[17] "chr4" "chr5" "chr6" "chr7" "chr8" "chr9"
>
In this case sort This vector is actually meaningless , There are two solutions to it !
The first is to set the level of the factor
边栏推荐
- [practice leads to truth] is the introduction of import and require really the same as what is said on the Internet
- Camera calibration (I): robot hand eye calibration
- JS form get form & get form elements
- How to open win11 remote desktop connection? Five methods of win11 Remote Desktop Connection
- NTU notes 6422quiz review (1-3 sections)
- Tiktok may launch an independent grass planting community platform: will it become the second little red book
- Introduction to namespace Basics
- 掌握软件安全测试方法秘笈,安全测试报告信手捏来
- You can't sell the used lithography machine to China! The United States unreasonably pressured the Dutch ASML, and domestic chips were suppressed again
- Gpt-3 is a peer review online when it has been submitted for its own research
猜你喜欢
各路行业大佬称赞的跨架构开发“神器”,你get同款了吗?
【线段树实战】最近的请求次数 + 区域和检索 - 数组可修改+我的日程安排表Ⅰ/Ⅲ
英特尔David Tuhy:英特尔傲腾技术成功的原因
Programmers go to work fishing, so play high-end!
九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」
The request request is encapsulated in uni app, which is easy to understand
Fix the problem that the highlight effect of the main menu disappears when the easycvr Video Square is clicked and played
Kivy tutorial of setting the size and background of the form (tutorial includes source code)
Vscode automatically adds a semicolon and jumps to the next line
System framework of PureMVC
随机推荐
九章云极DataCanvas公司摘获「第五届数字金融创新大赛」最高荣誉!
Mathematical analysis_ Notes_ Chapter 10: integral with parameters
What about the collapse of win11 playing pubg? Solution to win11 Jedi survival crash
EasyCVR平台接入RTMP协议,接口调用提示获取录像错误该如何解决?
System framework of PureMVC
这项15年前的「超前」技术设计,让CPU在AI推理中大放光彩
Two divs are on the same line, and the two divs do not wrap "recommended collection"
EasyCVR集群版本添加RTSP设备提示服务器ID错误,该如何解决?
Deeply cultivate the developer ecosystem, accelerate the innovation and development of AI industry, and Intel brings many partners together
EasyCVR集群重启导致其他服务器设备通道状态离线情况的优化
Comment les tests de logiciels sont - ils effectués sur le site Web? Testez la stratégie!
Intel and Xinbu technology jointly build a machine vision development kit to jointly promote the transformation of industrial intelligence
leetcode 53. Maximum Subarray 最大子数组和(中等)
Chapter 9 Yunji datacanvas company has been ranked top 3 in China's machine learning platform market
Lessons and thoughts of the first SQL injection
DFS和BFS概念及实践+acwing 842 排列数字(dfs) +acwing 844. 走迷宫(bfs)
视频融合云平台EasyCVR视频广场左侧栏列表样式优化
Win11截图键无法使用怎么办?Win11截图键无法使用的解决方法
Jetson nano configures pytorch deep learning environment / / to be improved
MySQL forgot how to change the password