当前位置:网站首页>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
边栏推荐
- leetcode 53. Maximum subarray maximum subarray sum (medium)
- How to open win11 remote desktop connection? Five methods of win11 Remote Desktop Connection
- 軟件測試之網站測試如何進行?測試小攻略走起!
- MySQL split method usage
- leetcode 53. Maximum Subarray 最大子数组和(中等)
- 九章云极DataCanvas公司蝉联中国机器学习平台市场TOP 3
- Windows are not cheap things
- AI 落地新题型 RPA + AI =?
- Win11远程桌面连接怎么打开?Win11远程桌面连接的五种方法
- MySQL forgot how to change the password
猜你喜欢
![[practice leads to truth] is the introduction of import and require really the same as what is said on the Internet](/img/58/4337f0972f7171a5c21e640f03e0b7.png)
[practice leads to truth] is the introduction of import and require really the same as what is said on the Internet

英特尔与信步科技共同打造机器视觉开发套件,协力推动工业智能化转型

DFS和BFS概念及实践+acwing 842 排列数字(dfs) +acwing 844. 走迷宫(bfs)

Intel David tuhy: the reason for the success of Intel aoten Technology

Read of shell internal value command

Chapter 9 Yunji datacanvas was rated as 36 krypton "the hard core technology enterprise most concerned by investors"

Chapter 9 Yunji datacanvas company has been ranked top 3 in China's machine learning platform market

Digital chemical plant management system based on Virtual Simulation Technology

acwing 843. N-queen problem

【实践出真理】import和require的引入方式真的和网上说的一样吗
随机推荐
How to open win11 remote desktop connection? Five methods of win11 Remote Desktop Connection
Zhou Yajin, a top safety scholar of Zhejiang University, is a curiosity driven activist
In depth analysis of kubebuilder
Is there any way to bookmark the code in the visual studio project- Is there a way to bookmark code in a Visual Studio project?
树与图的深度优先遍历模版原理
System framework of PureMVC
两个div在同一行,两个div不换行「建议收藏」
Gpt-3 is a peer review online when it has been submitted for its own research
Data security -- 12 -- Analysis of privacy protection
《原动力 x 云原生正发声 降本增效大讲堂》第三讲——Kubernetes 集群利用率提升实践
[digital analog] source code of MATLAB allcycles() function (not available before 2021a)
Terms used in the Web3 community
[team learning] [34 sessions] Alibaba cloud Tianchi online programming training camp
一图看懂!为什么学校教了你Coding但还是不会的原因...
Structure actual training camp | after class homework | module 6
JetBrain Pycharm的一系列快捷键
Video fusion cloud platform easycvr video Plaza left column list style optimization
什么是Web3
Nanopineo use development process record
[team learning] [phase 34] Baidu PaddlePaddle AI talent Creation Camp