{"id":25529,"date":"2024-01-22T16:57:46","date_gmt":"2024-01-22T08:57:46","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=25529"},"modified":"2024-01-22T16:57:48","modified_gmt":"2024-01-22T08:57:48","slug":"%e7%94%9f%e4%bf%a1%e5%b0%8f%e7%99%bd%e7%9a%84%e7%a6%8f%e5%88%a9%ef%bc%8c%e5%88%a9%e7%94%a8quantiseq%e7%ae%97%e6%b3%95%e8%bf%9b%e8%a1%8c%e5%85%8d%e7%96%ab%e6%b5%b8%e6%b6%a6%e5%88%86%e6%9e%90","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=25529","title":{"rendered":"\u751f\u4fe1\u5c0f\u767d\u7684\u798f\u5229\uff0c\u5229\u7528quanTIseq\u7b97\u6cd5\u8fdb\u884c\u514d\u75ab\u6d78\u6da6\u5206\u6790"},"content":{"rendered":"\n<p>\u5c0f\u679c\u53c8\u6765\u5206\u4eab\u5566\uff01\u4eca\u5929\u5c0f\u679c\u4e3a\u5c0f\u4f19\u4f34\u5e26\u6765\u7684\u5206\u4eab\u4e3a\u5229\u7528quanTIseq\u7b97\u6cd5\u8fdb\u884c\u514d\u75ab\u6d78\u6da6\u5206\u6790\uff0c\u7136\u540e\u57fa\u4e8e\u4e9a\u578b\u5206\u7ec4\u4fe1\u606f\u6587\u4ef6\uff0c\u8fdb\u884c\u4e9a\u578b\u95f4\u514d\u75ab\u7ec6\u80de\u542b\u91cf\u663e\u8457\u5dee\u5f02\u5206\u6790\uff0c\u8be5\u5206\u6790\u5728\u80bf\u7624\u751f\u4fe1\u6587\u7ae0\u4e2d\u5fc5\u5907\u7684\u5206\u6790\u5185\u5bb9\uff0c\u975e\u5e38\u503c\u5f97\u5c0f\u4f19\u4f34\u5b66\u4e60\uff0c\u5c0f\u679c\u5f3a\u70c8\u63a8\u8350\u5440\uff01\u63a5\u4e0b\u6765\u8ddf\u7740\u5c0f\u679c\u5f00\u542f\u5f00\u59cb\u4eca\u5929\u7684\u5206\u4eab\u5b66\u4e60\u3002<\/p>\n\n\n\n<ol>\n<li>quanTIseq\u7b97\u6cd5\u4ecb\u7ecd<\/li>\n<\/ol>\n\n\n\n<p>\u5728\u8fdb\u884c\u8be5\u5206\u6790\u4e4b\u524d\uff0c\u5c0f\u679c\u5148\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0bquanTIseq\u7b97\u6cd5\uff0cquanTIseq\u57fa\u4e8e\u53cd\u5377\u79ef\u7b97\u6cd5\uff0c\u5229\u7528bulk samples\u7684RNA_seq\u6570\u636e\uff0c\u53ef\u4ee5\u5bf9\u80bf\u7624\u6837\u672c\u4e2d\u4e0d\u540c\u79cd\u7c7b\u514d\u75ab\u7ec6\u80de\u7684\u7ec4\u6210\u8fdb\u884c\u9884\u6d4b\uff0c\u652f\u630110\u79cd\u7c7b\u578b\u7684\u514d\u75ab\u7ec6\u80de\uff0c\u5305\u62ecB cells\uff0cClassically activated macrophages (M1)\uff0cAlternatively activated macrophages (M2)\uff0cMonocytes\uff0cNeutrophils\uff0cNatural killer (NK) cells\uff0cNon-regulatory CD4+ T cells \uff0cCD8+ T cells\uff0cDendritic cells\uff0cOther uncharacterized cells\uff0c\u8fd9\u5c31\u662f\u5c0f\u679c\u5bf9\u8be5\u7b97\u6cd5\u7684\u4ecb\u7ecd\uff0c\u60f3\u6df1\u5165\u5b66\u4e60\u7684\u5c0f\u4f19\u4f34\u53ef\u4ee5\u5230\u8be5\u7f51\u5740:https:\/\/icbi.i-med.ac.at\/software\/quantiseq\/doc\/index.html#Figure1\u3002<\/p>\n\n\n\n<p>#\u9996\u5148\u4e0b\u8f7dquanTIseq\u6d41\u7a0b\u5206\u6790\u811a\u672c\uff0c\u5982\u4e0b\u6587:<\/p>\n\n\n\n<p>wget https:\/\/icbi.i-med.ac.at\/software\/quantiseq\/doc\/downloads\/quanTIseq_pipeline.sh<\/p>\n\n\n\n<p>#quanTIseq\u6d41\u7a0b\u8fd0\u884c\u53c2\u6570\u4f7f\u7528\u65b9\u6cd5<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"232\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?resize=640%2C232\" alt=\"Dingtalk_20230713154227\" class=\"wp-image-25532\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?w=1269 1269w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?resize=300%2C109 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?resize=1024%2C371 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?resize=768%2C278 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?resize=600%2C217 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<ol>\n<li>\u51c6\u5907\u9700\u8981\u7684R\u5305<\/li>\n<\/ol>\n\n\n\n<p>#\u5b89\u88c5\u9700\u8981\u7684\u5305<\/p>\n\n\n\n<p>install.packages(&#8220;ggplot2&#8221;)<\/p>\n\n\n\n<p>install.packages(&#8220;ggsci&#8221;)<\/p>\n\n\n\n<p>install.packages(&#8220;tidyverse&#8221;)<\/p>\n\n\n\n<p>install.packages(&#8220;reshape2&#8221;)<\/p>\n\n\n\n<p>install.packages(&#8220;ggpubr&#8221;)<\/p>\n\n\n\n<p>#\u52a0\u8f7d\u9700\u8981\u7684R\u5305<\/p>\n\n\n\n<p>library(reshape2)<\/p>\n\n\n\n<p>library(ggpubr)<\/p>\n\n\n\n<p>library(ggplot2)<\/p>\n\n\n\n<p>library(tidyverse)<\/p>\n\n\n\n<p>library(ggsci)<\/p>\n\n\n\n<p>2.\u8f93\u5165\u6570\u636e<\/p>\n\n\n\n<p>#EXP.txt\uff0c\u57fa\u56e0\u8868\u8fbe\u77e9\u9635\u6587\u4ef6\uff0c\u884c\u540d\u4e3a\u57fa\u56e0\u540d\uff0c\u5217\u540d\u4e3a\u6837\u672c\u4fe1\u606f\u3002<\/p>\n\n\n\n<p>exp&lt;-read.table(&#8220;EXP.txt&#8221;,header=T,row.names=1,sep=&#8221;\\t&#8221;,check.names=F)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"156\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?resize=640%2C156\" alt=\"Dingtalk_20230713145410\" class=\"wp-image-25533\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?w=1267 1267w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?resize=300%2C73 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?resize=1024%2C249 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?resize=768%2C187 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?resize=600%2C146 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>#\u5c06\u884c\u540d\u8f6c\u5316\u4e3a\u5217\u540d<\/p>\n\n\n\n<p>exp&lt;-rownames_to_column(exp,var=&#8221;GENE&#8221;)<\/p>\n\n\n\n<p>4.\u5229\u7528quanTIseq\u7b97\u6cd5\u8fdb\u884c\u514d\u75ab\u6d78\u6da6\u5206\u6790<\/p>\n\n\n\n<p>#quanTIseq\u8fdb\u884c\u514d\u75ab\u6d78\u6da6\u5206\u6790<\/p>\n\n\n\n<p>bash quanTIseq_pipeline.sh &#8211;inputfile=exp.txt &#8211;outputdir=quanTIseqTest &#8211;prefix=quanTIseqTest &#8211;pipelinestart=decon<\/p>\n\n\n\n<p>input\u8868\u793a\u57fa\u56e0\u8868\u8fbe\u77e9\u9635\uff0c\u7b2c\u4e00\u5217\u4e3a\u57fa\u56e0\u540d\uff0c\u5176\u4ed6\u5217\u4e3a\u6837\u672c\u540d\u3002<\/p>\n\n\n\n<p>outputdir\u8868\u793a\u751f\u6210\u7ed3\u679c\u6587\u4ef6\u540d<\/p>\n\n\n\n<p>prefix\u8868\u793a\u751f\u6210\u7ed3\u679c\u6587\u4ef6\u524d\u7f00<\/p>\n\n\n\n<p>pipelinestart\u8868\u793aquanTIseq\u5206\u6790\u6d41\u7a0b\uff0c\u57fa\u56e0\u8868\u8fbe\u77e9\u9635\u9009\u7528decon<\/p>\n\n\n\n<p>#\u751f\u6210\u7ed3\u679c\u6587\u4ef6\u4e3aquanTIseqTest_cell_fractions.txt\uff0c\u8be5\u7ed3\u679c\u4e3a\u8ba1\u7b97\u768410\u79cd\u514d\u75ab\u7ec6\u80de\u5728\u4e0d\u540c\u6837\u672c\u4e2d\u7684\u542b\u91cf\uff0c\u7b2c\u4e00\u5217\u4e3a\u6837\u672c\u540d\uff0c\u5176\u4ed6\u5217\u4e3a\u514d\u75ab\u7ec6\u80de\u7c7b\u578b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"152\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?resize=640%2C152\" alt=\"Dingtalk_20230713155008\" class=\"wp-image-25534\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?w=1267 1267w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?resize=300%2C71 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?resize=1024%2C242 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?resize=768%2C182 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?resize=600%2C142 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>5.\u4e0d\u540c\u4e9a\u578b\u4e2dquanTIseq\u7b97\u6cd5\u8ba1\u7b97\u7684\u514d\u75ab\u7ec6\u80de\u7684\u663e\u8457\u5dee\u5f02\u5206\u6790<\/p>\n\n\n\n<p>#\u8bfb\u53d6quanTIseq\u5206\u6790\u514d\u75ab\u7ec6\u80de\u7ec4\u6210\u7ed3\u679c\u6587\u4ef6<\/p>\n\n\n\n<p>immune&lt;-read.table(&#8220;quanTIseqTest_cell_fractions.txt&#8221;,header=T,sep=&#8221;\\t&#8221;)<\/p>\n\n\n\n<p>#\u5c06Sample\u5217\u201d.\u201d\u4fee\u6539\u4e3a\u201d-\u201d<\/p>\n\n\n\n<p>immune$Sample&lt;-str_replace_all(immune$Sample,&#8221;\\\\.&#8221;,&#8221;-&#8220;)<\/p>\n\n\n\n<p>#\u4e9a\u578b\u5206\u7ec4\u6587\u4ef6,\u884c\u540d\u4e3a\u6837\u672c\u4fe1\u606f\uff0c\u7b2c\u4e00\u5217\u4e3a\u6837\u672c\u4fe1\u606f\uff0c\u7b2c\u4e8c\u5217\u4e3a\u4e9a\u578b\u5206\u7ec4\u4fe1\u606f\u3002<\/p>\n\n\n\n<p>K3&lt;-read.table(&#8220;K3.txt&#8221;,header=T,sep=&#8221;\\t&#8221;)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"206\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?resize=640%2C206\" alt=\"Dingtalk_20230713220537\" class=\"wp-image-25535\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?w=1236 1236w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?resize=300%2C96 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?resize=1024%2C329 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?resize=768%2C247 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?resize=600%2C193 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>#\u5408\u5e76\u514d\u75ab\u7ec6\u80de\u7ec4\u6210\u6587\u4ef6\u548c\u4e9a\u578b\u5206\u7ec4\u6587\u4ef6<\/p>\n\n\n\n<p>final&lt;-left_join(immune,K3,by=\u201dSample\u201d)<\/p>\n\n\n\n<p>#\u957f\u5bbd\u6570\u636e\u8f6c\u6362<\/p>\n\n\n\n<p>quanTIseq_cluster&lt;-melt(final,id.vars=c(&#8220;Sample&#8221;,&#8221;Cluster&#8221;))<\/p>\n\n\n\n<p>#\u8bbe\u7f6e\u5217\u540d<\/p>\n\n\n\n<p>colnames(quanTIseq_cluster)&lt;-c(&#8220;Sample&#8221;,&#8221;Cluster&#8221;,&#8221;celltype&#8221;,&#8221;quanTIseq&#8221;)<\/p>\n\n\n\n<p>#\u7ed8\u5236\u663e\u8457\u5dee\u5f02\u5206\u6790\u5c0f\u63d0\u7434+\u7bb1\u7ebf\u56fe<\/p>\n\n\n\n<p>boxplot_quanTIseq&lt;- ggplot(quanTIseq_cluster, aes(x = celltype, y =quanTIseq ))+<\/p>\n\n\n\n<p>labs(y=&#8221;quanTIseq&#8221;,x= &#8220;&#8221;)+<\/p>\n\n\n\n<p>geom_boxplot(aes(fill = Cluster),position=position_dodge(0.5),width=0.5)+<\/p>\n\n\n\n<p>scale_fill_npg()+<\/p>\n\n\n\n<p>#\u4fee\u6539\u4e3b\u9898<\/p>\n\n\n\n<p>theme_classic() +<\/p>\n\n\n\n<p>theme(axis.title = element_text(size = 12,color =&#8221;black&#8221;),<\/p>\n\n\n\n<p>axis.text = element_text(size= 12,color = &#8220;black&#8221;),<\/p>\n\n\n\n<p>panel.grid.minor.y = element_blank(),<\/p>\n\n\n\n<p>panel.grid.minor.x = element_blank(),<\/p>\n\n\n\n<p>axis.text.x = element_text(angle = 45, hjust = 1 ),<\/p>\n\n\n\n<p>panel.grid=element_blank(),<\/p>\n\n\n\n<p>legend.position = &#8220;top&#8221;,<\/p>\n\n\n\n<p>legend.text = element_text(size= 12),<\/p>\n\n\n\n<p>legend.title= element_text(size= 12)<\/p>\n\n\n\n<p>) +<\/p>\n\n\n\n<p>stat_compare_means(aes(group = Cluster),<\/p>\n\n\n\n<p>label = &#8220;p.signif&#8221;,<\/p>\n\n\n\n<p>method = &#8220;kruskal.test&#8221;,#kruskal.test\u591a\u7ec4\u68c0\u9a8c<\/p>\n\n\n\n<p>hide.ns = F)#\u9690\u85cf\u4e0d\u663e\u8457\u7684<\/p>\n\n\n\n<p>#\u4fdd\u5b58\u56fe\u7247<\/p>\n\n\n\n<p>ggsave(file=&#8221;quanTIseq.pdf&#8221;,boxplot_quanTIseq,height=10,width=15)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"429\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?resize=640%2C429\" alt=\"Dingtalk_20230713174202\" class=\"wp-image-25536\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?w=1082 1082w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?resize=300%2C201 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?resize=1024%2C686 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?resize=768%2C515 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?resize=600%2C402 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<p>\u6700\u7ec8\u5c0f\u679c\u6210\u529f\u7684\u5bf9\u4e0d\u540c\u4e9a\u578b\u5229\u7528quanTIseq\u7b97\u6cd5\u8fdb\u884c\u4e86\u514d\u75ab\u6d78\u6da6\u5206\u6790\uff0c\uff0c\u770b\u8d77\u6765\u56fe\u7247\u6548\u679c\u975e\u5e38\u4e0d\u9519\uff0c\u6b22\u8fce\u5927\u5bb6\u548c\u5c0f\u679c\u4e00\u8d77\u8ba8\u8bba\u5b66\u4e60\u5440\uff01\u514d\u75ab\u6d78\u6da6\u76f8\u5173\u5206\u6790\u5185\u5bb9\uff0c\u4f8b\u5982\u5355\u6837\u672c\u5bcc\u96c6\u7b97\u6cd5\u5206\u6790\u514d\u75ab\u6d78\u6da6\u4e30\u5ea6(http:\/\/www.biocloudservice.com\/106\/106.php)\uff0c\u8ba1\u7b9764\u79cd\u514d\u75ab\u7ec6\u80de\u76f8\u5bf9\u542b\u91cf(http:\/\/www.biocloudservice.com\/107\/107.php)\uff0cpanImmune\u514d\u75ab\u6d78\u6da6\u5206\u6790(http:\/\/www.biocloudservice.com\/782\/782.php)\u7b49\u90fd\u53ef\u4ee5\u7528\u672c\u516c\u53f8\u65b0\u5f00\u53d1\u7684\u96f6\u4ee3\u7801\u4e91\u5e73\u53f0\u751f\u4fe1\u5206\u6790\u5c0f\u5de5\u5177\uff0c\u4e00\u952e\u5b8c\u6210\u8be5\u5206\u6790\u5965\uff0c\u611f\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u6b22\u8fce\u6765\u5c1d\u8bd5\u5965\uff0c\u7f51\u5740\uff1ahttp:\/\/www.biocloudservice.com\/home.html\u3002\u4eca\u5929\u5c0f\u679c\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u4e0b\u671f\u5728\u89c1\u5965\u3002<\/p>\n\n\n<p>\u751f\u4fe1\u5c0f\u767d\u7684\u798f\u5229\uff0c\u5229\u7528quanTIseq\u7b97\u6cd5\u8fdb\u884c\u514d\u75ab\u6d78\u6da6\u5206\u6790<\/p>\n<p>\u5c0f\u679c\u53c8\u6765\u5206\u4eab\u5566\uff01\u4eca\u5929\u5c0f\u679c\u4e3a\u5c0f\u4f19\u4f34\u5e26\u6765\u7684\u5206\u4eab\u4e3a\u5229\u7528quanTIseq\u7b97\u6cd5\u8fdb\u884c\u514d\u75ab\u6d78\u6da6\u5206\u6790\uff0c\u7136\u540e\u57fa\u4e8e\u4e9a\u578b\u5206\u7ec4\u4fe1\u606f\u6587\u4ef6\uff0c\u8fdb\u884c\u4e9a\u578b\u95f4\u514d\u75ab\u7ec6\u80de\u542b\u91cf\u663e\u8457\u5dee\u5f02\u5206\u6790\uff0c\u8be5\u5206\u6790\u5728\u80bf\u7624\u751f\u4fe1\u6587\u7ae0\u4e2d\u5fc5\u5907\u7684\u5206\u6790\u5185\u5bb9\uff0c\u975e\u5e38\u503c\u5f97\u5c0f\u4f19\u4f34\u5b66\u4e60\uff0c\u5c0f\u679c\u5f3a\u70c8\u63a8\u8350\u5440\uff01\u63a5\u4e0b\u6765\u8ddf\u7740\u5c0f\u679c\u5f00\u542f\u5f00\u59cb\u4eca\u5929\u7684\u5206\u4eab\u5b66\u4e60\u3002<\/p>\n<ol>\n<li>quanTIseq\u7b97\u6cd5\u4ecb\u7ecd<\/li>\n<\/ol>\n<p>\u5728\u8fdb\u884c\u8be5\u5206\u6790\u4e4b\u524d\uff0c\u5c0f\u679c\u5148\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0bquanTIseq\u7b97\u6cd5\uff0cquanTIseq\u57fa\u4e8e\u53cd\u5377\u79ef\u7b97\u6cd5\uff0c\u5229\u7528bulk samples\u7684RNA_seq\u6570\u636e\uff0c\u53ef\u4ee5\u5bf9\u80bf\u7624\u6837\u672c\u4e2d\u4e0d\u540c\u79cd\u7c7b\u514d\u75ab\u7ec6\u80de\u7684\u7ec4\u6210\u8fdb\u884c\u9884\u6d4b\uff0c\u652f\u630110\u79cd\u7c7b\u578b\u7684\u514d\u75ab\u7ec6\u80de\uff0c\u5305\u62ecB cells\uff0cClassically activated macrophages (M1)\uff0cAlternatively activated macrophages (M2)\uff0cMonocytes\uff0cNeutrophils\uff0cNatural killer (NK) cells\uff0cNon-regulatory CD4+ T cells \uff0cCD8+ T cells\uff0cDendritic cells\uff0cOther uncharacterized cells\uff0c\u8fd9\u5c31\u662f\u5c0f\u679c\u5bf9\u8be5\u7b97\u6cd5\u7684\u4ecb\u7ecd\uff0c\u60f3\u6df1\u5165\u5b66\u4e60\u7684\u5c0f\u4f19\u4f34\u53ef\u4ee5\u5230\u8be5\u7f51\u5740:https:\/\/icbi.i-med.ac.at\/software\/quantiseq\/doc\/index.html#Figure1\u3002<\/p>\n<p>#\u9996\u5148\u4e0b\u8f7dquanTIseq\u6d41\u7a0b\u5206\u6790\u811a\u672c\uff0c\u5982\u4e0b\u6587:<\/p>\n<p>wget https:\/\/icbi.i-med.ac.at\/software\/quantiseq\/doc\/downloads\/quanTIseq_pipeline.sh<\/p>\n<p>#quanTIseq\u6d41\u7a0b\u8fd0\u884c\u53c2\u6570\u4f7f\u7528\u65b9\u6cd5<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"232\" class=\"wp-image-25532\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?resize=640%2C232\" alt=\"Dingtalk_20230713154227\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?w=1269 1269w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?resize=300%2C109 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?resize=1024%2C371 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?resize=768%2C278 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713154227.jpeg?resize=600%2C217 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/p>\n<ol>\n<li>\u51c6\u5907\u9700\u8981\u7684R\u5305<\/li>\n<\/ol>\n<p>#\u5b89\u88c5\u9700\u8981\u7684\u5305<\/p>\n<p>install.packages(&#8220;ggplot2&#8221;)<\/p>\n<p>install.packages(&#8220;ggsci&#8221;)<\/p>\n<p>install.packages(&#8220;tidyverse&#8221;)<\/p>\n<p>install.packages(&#8220;reshape2&#8221;)<\/p>\n<p>install.packages(&#8220;ggpubr&#8221;)<\/p>\n<p>#\u52a0\u8f7d\u9700\u8981\u7684R\u5305<\/p>\n<p>library(reshape2)<\/p>\n<p>library(ggpubr)<\/p>\n<p>library(ggplot2)<\/p>\n<p>library(tidyverse)<\/p>\n<p>library(ggsci)<\/p>\n<p>2.\u8f93\u5165\u6570\u636e<\/p>\n<p>#EXP.txt\uff0c\u57fa\u56e0\u8868\u8fbe\u77e9\u9635\u6587\u4ef6\uff0c\u884c\u540d\u4e3a\u57fa\u56e0\u540d\uff0c\u5217\u540d\u4e3a\u6837\u672c\u4fe1\u606f\u3002<\/p>\n<p>exp&lt;-read.table(&#8220;EXP.txt&#8221;,header=T,row.names=1,sep=&#8221;\\t&#8221;,check.names=F)<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"156\" class=\"wp-image-25533\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?resize=640%2C156\" alt=\"Dingtalk_20230713145410\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?w=1267 1267w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?resize=300%2C73 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?resize=1024%2C249 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?resize=768%2C187 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713145410.jpeg?resize=600%2C146 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/p>\n<p>#\u5c06\u884c\u540d\u8f6c\u5316\u4e3a\u5217\u540d<\/p>\n<p>exp&lt;-rownames_to_column(exp,var=&#8221;GENE&#8221;)<\/p>\n<p>4.\u5229\u7528quanTIseq\u7b97\u6cd5\u8fdb\u884c\u514d\u75ab\u6d78\u6da6\u5206\u6790<\/p>\n<p>#quanTIseq\u8fdb\u884c\u514d\u75ab\u6d78\u6da6\u5206\u6790<\/p>\n<p>bash quanTIseq_pipeline.sh &#8211;inputfile=exp.txt &#8211;outputdir=quanTIseqTest &#8211;prefix=quanTIseqTest &#8211;pipelinestart=decon<\/p>\n<p>input\u8868\u793a\u57fa\u56e0\u8868\u8fbe\u77e9\u9635\uff0c\u7b2c\u4e00\u5217\u4e3a\u57fa\u56e0\u540d\uff0c\u5176\u4ed6\u5217\u4e3a\u6837\u672c\u540d\u3002<\/p>\n<p>outputdir\u8868\u793a\u751f\u6210\u7ed3\u679c\u6587\u4ef6\u540d<\/p>\n<p>prefix\u8868\u793a\u751f\u6210\u7ed3\u679c\u6587\u4ef6\u524d\u7f00<\/p>\n<p>pipelinestart\u8868\u793aquanTIseq\u5206\u6790\u6d41\u7a0b\uff0c\u57fa\u56e0\u8868\u8fbe\u77e9\u9635\u9009\u7528decon<\/p>\n<p>#\u751f\u6210\u7ed3\u679c\u6587\u4ef6\u4e3aquanTIseqTest_cell_fractions.txt\uff0c\u8be5\u7ed3\u679c\u4e3a\u8ba1\u7b97\u768410\u79cd\u514d\u75ab\u7ec6\u80de\u5728\u4e0d\u540c\u6837\u672c\u4e2d\u7684\u542b\u91cf\uff0c\u7b2c\u4e00\u5217\u4e3a\u6837\u672c\u540d\uff0c\u5176\u4ed6\u5217\u4e3a\u514d\u75ab\u7ec6\u80de\u7c7b\u578b\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"152\" class=\"wp-image-25534\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?resize=640%2C152\" alt=\"Dingtalk_20230713155008\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?w=1267 1267w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?resize=300%2C71 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?resize=1024%2C242 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?resize=768%2C182 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713155008.jpeg?resize=600%2C142 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/p>\n<p>5.\u4e0d\u540c\u4e9a\u578b\u4e2dquanTIseq\u7b97\u6cd5\u8ba1\u7b97\u7684\u514d\u75ab\u7ec6\u80de\u7684\u663e\u8457\u5dee\u5f02\u5206\u6790<\/p>\n<p>#\u8bfb\u53d6quanTIseq\u5206\u6790\u514d\u75ab\u7ec6\u80de\u7ec4\u6210\u7ed3\u679c\u6587\u4ef6<\/p>\n<p>immune&lt;-read.table(&#8220;quanTIseqTest_cell_fractions.txt&#8221;,header=T,sep=&#8221;\\t&#8221;)<\/p>\n<p>#\u5c06Sample\u5217\u201d.\u201d\u4fee\u6539\u4e3a\u201d-\u201d<\/p>\n<p>immune$Sample&lt;-str_replace_all(immune$Sample,&#8221;\\\\.&#8221;,&#8221;-&#8220;)<\/p>\n<p>#\u4e9a\u578b\u5206\u7ec4\u6587\u4ef6,\u884c\u540d\u4e3a\u6837\u672c\u4fe1\u606f\uff0c\u7b2c\u4e00\u5217\u4e3a\u6837\u672c\u4fe1\u606f\uff0c\u7b2c\u4e8c\u5217\u4e3a\u4e9a\u578b\u5206\u7ec4\u4fe1\u606f\u3002<\/p>\n<p>K3&lt;-read.table(&#8220;K3.txt&#8221;,header=T,sep=&#8221;\\t&#8221;)<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"206\" class=\"wp-image-25535\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?resize=640%2C206\" alt=\"Dingtalk_20230713220537\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?w=1236 1236w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?resize=300%2C96 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?resize=1024%2C329 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?resize=768%2C247 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713220537.jpeg?resize=600%2C193 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/p>\n<p>#\u5408\u5e76\u514d\u75ab\u7ec6\u80de\u7ec4\u6210\u6587\u4ef6\u548c\u4e9a\u578b\u5206\u7ec4\u6587\u4ef6<\/p>\n<p>final&lt;-left_join(immune,K3,by=\u201dSample\u201d)<\/p>\n<p>#\u957f\u5bbd\u6570\u636e\u8f6c\u6362<\/p>\n<p>quanTIseq_cluster&lt;-melt(final,id.vars=c(&#8220;Sample&#8221;,&#8221;Cluster&#8221;))<\/p>\n<p>#\u8bbe\u7f6e\u5217\u540d<\/p>\n<p>colnames(quanTIseq_cluster)&lt;-c(&#8220;Sample&#8221;,&#8221;Cluster&#8221;,&#8221;celltype&#8221;,&#8221;quanTIseq&#8221;)<\/p>\n<p>#\u7ed8\u5236\u663e\u8457\u5dee\u5f02\u5206\u6790\u5c0f\u63d0\u7434+\u7bb1\u7ebf\u56fe<\/p>\n<p>boxplot_quanTIseq&lt;- ggplot(quanTIseq_cluster, aes(x = celltype, y =quanTIseq ))+<\/p>\n<p>labs(y=&#8221;quanTIseq&#8221;,x= &#8220;&#8221;)+<\/p>\n<p>geom_boxplot(aes(fill = Cluster),position=position_dodge(0.5),width=0.5)+<\/p>\n<p>scale_fill_npg()+<\/p>\n<p>#\u4fee\u6539\u4e3b\u9898<\/p>\n<p>theme_classic() +<\/p>\n<p>theme(axis.title = element_text(size = 12,color =&#8221;black&#8221;),<\/p>\n<p>axis.text = element_text(size= 12,color = &#8220;black&#8221;),<\/p>\n<p>panel.grid.minor.y = element_blank(),<\/p>\n<p>panel.grid.minor.x = element_blank(),<\/p>\n<p>axis.text.x = element_text(angle = 45, hjust = 1 ),<\/p>\n<p>panel.grid=element_blank(),<\/p>\n<p>legend.position = &#8220;top&#8221;,<\/p>\n<p>legend.text = element_text(size= 12),<\/p>\n<p>legend.title= element_text(size= 12)<\/p>\n<p>) +<\/p>\n<p>stat_compare_means(aes(group = Cluster),<\/p>\n<p>label = &#8220;p.signif&#8221;,<\/p>\n<p>method = &#8220;kruskal.test&#8221;,#kruskal.test\u591a\u7ec4\u68c0\u9a8c<\/p>\n<p>hide.ns = F)#\u9690\u85cf\u4e0d\u663e\u8457\u7684<\/p>\n<p>#\u4fdd\u5b58\u56fe\u7247<\/p>\n<p>ggsave(file=&#8221;quanTIseq.pdf&#8221;,boxplot_quanTIseq,height=10,width=15)<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"429\" class=\"wp-image-25536\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?resize=640%2C429\" alt=\"Dingtalk_20230713174202\" srcset=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?w=1082 1082w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?resize=300%2C201 300w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?resize=1024%2C686 1024w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?resize=768%2C515 768w, https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/01\/dingtalk_20230713174202.jpeg?resize=600%2C402 600w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/p>\n<p>\u6700\u7ec8\u5c0f\u679c\u6210\u529f\u7684\u5bf9\u4e0d\u540c\u4e9a\u578b\u5229\u7528quanTIseq\u7b97\u6cd5\u8fdb\u884c\u4e86\u514d\u75ab\u6d78\u6da6\u5206\u6790\uff0c\uff0c\u770b\u8d77\u6765\u56fe\u7247\u6548\u679c\u975e\u5e38\u4e0d\u9519\uff0c\u6b22\u8fce\u5927\u5bb6\u548c\u5c0f\u679c\u4e00\u8d77\u8ba8\u8bba\u5b66\u4e60\u5440\uff01\u514d\u75ab\u6d78\u6da6\u76f8\u5173\u5206\u6790\u5185\u5bb9\uff0c\u4f8b\u5982\u5355\u6837\u672c\u5bcc\u96c6\u7b97\u6cd5\u5206\u6790\u514d\u75ab\u6d78\u6da6\u4e30\u5ea6(http:\/\/www.biocloudservice.com\/106\/106.php)\uff0c\u8ba1\u7b9764\u79cd\u514d\u75ab\u7ec6\u80de\u76f8\u5bf9\u542b\u91cf(http:\/\/www.biocloudservice.com\/107\/107.php)\uff0cpanImmune\u514d\u75ab\u6d78\u6da6\u5206\u6790(http:\/\/www.biocloudservice.com\/782\/782.php)\u7b49\u90fd\u53ef\u4ee5\u7528\u672c\u516c\u53f8\u65b0\u5f00\u53d1\u7684\u96f6\u4ee3\u7801\u4e91\u5e73\u53f0\u751f\u4fe1\u5206\u6790\u5c0f\u5de5\u5177\uff0c\u4e00\u952e\u5b8c\u6210\u8be5\u5206\u6790\u5965\uff0c\u611f\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u6b22\u8fce\u6765\u5c1d\u8bd5\u5965\uff0c\u7f51\u5740\uff1ahttp:\/\/www.biocloudservice.com\/home.html\u3002\u4eca\u5929\u5c0f\u679c\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u4e0b\u671f\u5728\u89c1\u5965\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u5c0f\u679c\u53c8\u6765\u5206\u4eab\u5566\uff01\u4eca\u5929\u5c0f\u679c\u4e3a\u5c0f\u4f19\u4f34\u5e26\u6765\u7684\u5206\u4eab\u4e3a\u5229\u7528quanTIseq\u7b97\u6cd5\u8fdb\u884c\u514d\u75ab\u6d78\u6da6\u5206\u6790\uff0c\u7136\u540e\u57fa\u4e8e\u4e9a\u578b\u5206\u7ec4\u4fe1\u606f\u6587 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/25529"}],"collection":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25529"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/25529\/revisions"}],"predecessor-version":[{"id":25537,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/25529\/revisions\/25537"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25529"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}