当前位置:网站首页>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
边栏推荐
- R语言主成分pca、因子分析、聚类对地区经济研究分析重庆市经济指标
- 赠票速抢|行业大咖纵论软件的质量与效能 QECon大会来啦
- Wechat can play the trumpet. Pinduoduo was found guilty of infringement. The shipment of byte VR equipment ranks second in the world. Today, more big news is here
- Deeply cultivate the developer ecosystem, accelerate the innovation and development of AI industry, and Intel brings many partners together
- Web3 社区中使用的术语
- 过气光刻机也不能卖给中国!美国无理施压荷兰ASML,国产芯片再遭打压
- A picture to understand! Why did the school teach you coding but still not
- acwing 843. N-queen problem
- Lessons and thoughts of the first SQL injection
- 掌握软件安全测试方法秘笈,安全测试报告信手捏来
猜你喜欢

kivy教程之设置窗体大小和背景(教程含源码)

Win11远程桌面连接怎么打开?Win11远程桌面连接的五种方法

mpf2_线性规划_CAPM_sharpe_Arbitrage Pricin_Inversion Gauss Jordan_Statsmodel_Pulp_pLU_Cholesky_QR_Jacobi

【实践出真理】import和require的引入方式真的和网上说的一样吗

System framework of PureMVC

Programmers go to work fishing, so play high-end!

Vscode automatically adds a semicolon and jumps to the next line

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

AI landing new question type RPA + AI =?
![[team learning] [34 sessions] Alibaba cloud Tianchi online programming training camp](/img/50/bfe7229d380a514c40f9f6822381c7.jpg)
[team learning] [34 sessions] Alibaba cloud Tianchi online programming training camp
随机推荐
What if the win11 screenshot key cannot be used? Solution to the failure of win11 screenshot key
Case reward: Intel brings many partners to promote the innovation and development of multi domain AI industry
微信能开小号了,拼多多“砍一刀”被判侵权,字节VR设备出货量全球第二,今日更多大新闻在此
Deeply cultivate the developer ecosystem, accelerate the innovation and development of AI industry, and Intel brings many partners together
On the 110th anniversary of Turing's birth, has the prediction of intelligent machine come true?
Tiktok may launch an independent grass planting community platform: will it become the second little red book
C#使用西门子S7 协议读写PLC DB块
Win11远程桌面连接怎么打开?Win11远程桌面连接的五种方法
EasyCVR集群版本添加RTSP设备提示服务器ID错误,该如何解决?
Jetson nano配置pytorch深度学习环境//待完善
[digital analog] source code of MATLAB allcycles() function (not available before 2021a)
Two divs are on the same line, and the two divs do not wrap "recommended collection"
This "advanced" technology design 15 years ago makes CPU shine in AI reasoning
Optimization of channel status offline of other server devices caused by easycvr cluster restart
浙江大学周亚金:“又破又立”的顶尖安全学者,好奇心驱动的行动派
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?
You can't sell the used lithography machine to China! The United States unreasonably pressured the Dutch ASML, and domestic chips were suppressed again
SQL where multiple field filtering
EasyCVR集群重启导致其他服务器设备通道状态离线情况的优化
Up to 5million per person per year! Choose people instead of projects, focus on basic scientific research, and scientists dominate the "new cornerstone" funded by Tencent to start the application