{"id":48313,"date":"2024-06-15T20:08:08","date_gmt":"2024-06-15T12:08:08","guid":{"rendered":"http:\/\/www.biocloudservice.com\/wordpress\/?p=48313"},"modified":"2024-06-15T20:08:08","modified_gmt":"2024-06-15T12:08:08","slug":"%e9%87%8d%e7%a3%85%e6%9d%a5%e8%a2%ad%ef%bc%8c%e5%8f%aa%e9%9c%805%e5%88%86%e9%92%9f%e5%ae%8c%e5%85%a8%e6%8e%8c%e6%8f%a1%e5%8d%95%e7%bb%86%e8%83%9e%e5%a4%9a%e6%a0%b7%e6%9c%ac%e7%bb%86%e8%83%9e-3","status":"publish","type":"post","link":"http:\/\/www.biocloudservice.com\/wordpress\/?p=48313","title":{"rendered":"\u91cd\u78c5\u6765\u88ad\uff0c\u53ea\u97005\u5206\u949f\u5b8c\u5168\u638c\u63e1\u5355\u7ec6\u80de\u591a\u6837\u672c\u7ec6\u80de\u4e92\u4f5c\u5206\u6790"},"content":{"rendered":"<p><html><br \/>\n<head><br \/>\n<title><\/title><br \/>\n<meta charset=\"utf-8\"><br \/>\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover\"><\/p>\n<style>\n*{margin:0;padding:0}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.6}img{z-index:999;position:relative;max-width:100%;margin:10px 0;}body{letter-spacing:.034em}h1,h2,h3,h4,h5,h6{font-weight:400;font-size:16px}a{color:#576b95;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}td,th{word-wrap:break-word;padding:5px 10px;border:1px solid #DDD;}table{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}.rich_media_area_primary{padding:20px 16px 12px;background-color:#fafafa}@media (max-width:375px){.rich_media_area_primary{padding:20px 60px 15px 60px}.rich_media_area_extra{padding:0 60px 21px 60px}}@media (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner,body{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media{padding:20px;overflow:hidden;}.appmsg_skin_default .rich_media_area_primary{background-color:#fff}.appmsg_skin_default .rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{background-color:#fff}@media screen and (min-width:1024px){.rich_media_area_primary_inner,.rich_media_area_extra_inner{max-width:677px;margin-left:auto;margin-right:auto}.rich_media_area_primary{padding-top:32px}}.rich_media_content{overflow:hidden;color:#333;font-size:17px;word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;text-align:justify;position:relative;z-index:0}.rich_media_content *{max-width:100%!important;box-sizing:border-box!important;-webkit-box-sizing:border-box!important;word-wrap:break-word!important}.rich_media_content p{clear:both;min-height:1em}.rich_media_content em{font-style:italic}.rich_media_content fieldset{min-width:0}.rich_media_content .list-paddingleft-1,.rich_media_content .list-paddingleft-2,.rich_media_content .list-paddingleft-3{padding-left:2.2em}.rich_media_content .list-paddingleft-1 .list-paddingleft-2,.rich_media_content .list-paddingleft-2 .list-paddingleft-2,.rich_media_content .list-paddingleft-3 .list-paddingleft-2{padding-left:30px}.rich_media_content .list-paddingleft-1{padding-left:1.2em}.rich_media_content .list-paddingleft-3{padding-left:3.2em}.rich_media_content .code-snippet,.rich_media_content .code-snippet__fix{max-width:1000%!important}.rich_media_content .code-snippet *,.rich_media_content .code-snippet__fix *{max-width:1000%!important}.rich_media_title{font-size:22px;line-height:1.4;margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid #e7e7eb;}@supports(-webkit-overflow-scrolling:touch){.rich_media_title{font-weight:700}}.rich_media_meta{display:inline-block;vertical-align:middle;padding:0 0 10px 0;font-size:15px;-webkit-tap-highlight-color:rgba(0,0,0,0)}.rich_media_meta.icon_appmsg_tag{margin-right:0px}.rich_media_meta.meta_tag_text{margin-right:0}.rich_media_meta_list em{font-style:normal}.rich_media_meta_text{color:#a5a5a5;}p{margin:0;}.msgBox{margin-top:20px;padding-top:20px;padding-left:50px;overflow:hidden;border-top:2px dashed #09a2ff;}.msg{padding-top:7px;clear:both;}.msgBody{float:right;width:100%;margin-left:55px;padding-bottom:15px;border-bottom:1px dashed #e0e0e0;}.userHeadImg{float:left;margin-left:-50px;}.userHeadImg img{width:40px;height:40px;margin-right:10px;border-radius:3px;}.userName{color:#888888;line-height:24px;font-size:14px;margin:5px 0 5px 0;height:24px;}.replyBody,.autherBody{color:#565656;font-size:15px;}.replyIcon{border-left:4px solid #33ab01;margin-right:5px;}.ad{text-decoration:none;color:#d6d4d4;font-size:12px;}.msgBodyReply{padding-top:5px;}.userName span{float:right;color:#afafaf;font-size:14px;}code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;}.code-snippet__fix{font-size:14px;margin:10px 0;display:block;color:#333;position:relative;background-color:rgba(0,0,0,0.03);border:1px solid #f0f0f0;border-radius:2px;display:-webkit-box;display:-webkit-flex;display:flex;padding-left:25px;line-height:26px}.code-snippet__fix code{text-align:left;font-size:14px;display:block;white-space:pre;display:-webkit-box;display:-webkit-flex;display:flex;position:relative;font-family:Consolas,\"Liberation Mono\",Menlo,Courier,monospace}.code-snippet__comment,.code-snippet__quote{color:#afafaf;font-style:italic}.code-snippet__keyword,.code-snippet__selector-tag,.code-snippet__subst{color:#ca7d37}.code-snippet__number,.code-snippet__literal,.code-snippet__variable,.code-snippet__template-variable,.code-snippet__tag .code-snippet__attr{color:#0e9ce5}.code-snippet__string,.code-snippet__doctag{color:#d14}.code-snippet__title,.code-snippet__section,.code-snippet__selector-id{color:#d14}.code-snippet__subst{font-weight:normal}.code-snippet__type,.code-snippet__class .code-snippet__title{color:#0e9ce5}.code-snippet__tag,.code-snippet__name,.code-snippet__attribute{color:#0e9ce5;font-weight:normal}.code-snippet__regexp,.code-snippet__link{color:#ca7d37}.code-snippet__symbol,.code-snippet__bullet{color:#d14}.code-snippet__built_in,.code-snippet__builtin-name{color:#ca7d37}.code-snippet__meta{color:#afafaf}.code-snippet__deletion{background:#fdd}.code-snippet__addition{background:#dfd}.code-snippet__emphasis{font-style:italic}.code-snippet__strong{font-weight:bold}.account_avatar{width:40px;height:40px;padding:0;}.account_info{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;padding:20px 0;align-items:center}.flex_bd{padding-left:14px;}.account_nickname{display:inline-block;vertical-align:middle;line-height:1.2;color:#576b95;font-size:14px}.account_desc{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;color:rgba(0,0,0,0.3);font-size:14px;line-height:1.2;padding-top:.4em}.msg_source_url{text-align:left;word-break:break-all;margin-top:20px;}.msg_source_url a{padding-right:10px;}.msg_source_url .url_text{color:#a8a8a8;}.video-desc{font-size:14px;margin-top:15px;color:#6c6c6c;}.msg_source_url{text-align:left;}.original_primary_card_tips{color:rgba(0,0,0,0.3);line-height:1.4;font-size:15px;}.weui-flex__item{margin-bottom:20px;padding:20px 16px;margin-top:16px;line-height:1.4;align-items:center;background-color:#f7f7f7;border-radius:8px;position:relative;}.original_primary_desc{color:rgba(0,0,0,0.5);font-size:14px;padding-top:4px;width:auto;overflow:hidden;text-overflow:ellipsis;}.msgBodyReplyList{border-top:1px solid #e1e1e1;margin-top:10px;}.msgBodyReplyListTop{border-top:0;}.reply_like_num{float:right;font-size:14px;color:#c7c7c7;}.msgData{margin-top:20px;color:#626262;}.msgData span{font-size:14px;padding-right:15px;}.msgData .likes{float:right;padding-right:0;}.js_text_content p{font-size:18px;}.rich_media_meta_link{font-size:15px;}blockquote {padding-left: 10px;border-left: 3px solid #dbdbdb;color: rgba(0,0,0,0.5);font-size: 15px;padding-top: 4px;margin: 1em 0;}.video_iframe{width:500px;height:400px;}.blockquote_info{color:#b5b5b5;margin-top:10px;}#copyright_logo{color:#bdbdbd;}.rich_media_meta_list{margin-bottom:10px;}.reprint{background:#efefef;border-radius:5px;padding:8px;color:#1f1f1f;}.reprint a{word-break:break-all;}.topic{color:#8e8e8e;background:#f7f7f7;border-radius:5px;padding:10px 8px;}.topic a{padding-right:5px;}.topic p{margin-bottom:5px;}\n<\/style>\n<link href=\"https:\/\/www.juyifx.cn\/config\/css\/wxArticle.css\" rel=\"stylesheet\"\/>\n<\/head><script>\nvar data={\"mp\":\"\u751f\u4fe1\u679c\",\"title\":\"\u91cd\u78c5\u6765\u88ad\uff0c\u53ea\u97005\u5206\u949f\u5b8c\u5168\u638c\u63e1\u5355\u7ec6\u80de\u591a\u6837\u672c\u7ec6\u80de\u4e92\u4f5c\u5206\u6790\",\"time\":\"2023-05-03 19:00:36\",\"timeStamp\":\"1683111636\"};\n<\/script><br \/>\n<body><\/p>\n<div class=\"rich_media\">\n<h1 class=\"rich_media_title\" id=\"activity-name\"><a href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg3OTg3MjQyNg==&#038;mid=2247487084&#038;idx=1&#038;sn=d8cebbbe52ebbb1ca8c2c67a3a67cece&#038;chksm=cf7c9ea9f80b17bfd487d2f799791a7bf66d8eb0f9c04cb6f38a674f005c03c7d58a2af210c9#rd\" target=\"_blank\" rel=\"noopener\">\u91cd\u78c5\u6765\u88ad\uff0c\u53ea\u97005\u5206\u949f\u5b8c\u5168\u638c\u63e1\u5355\u7ec6\u80de\u591a\u6837\u672c\u7ec6\u80de\u4e92\u4f5c\u5206\u6790<\/a><\/h1>\n<div id=\"meta_content\" class=\"rich_media_meta_list\"><span id=\"copyright_logo\" class=\"wx_tap_link js_wx_tap_highlight rich_media_meta icon_appmsg_tag appmsg_title_tag weui-wa-hotarea\">\u539f\u521b&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_text\">\u5c0f\u679c&nbsp;&nbsp;<\/span><span class=\"rich_media_meta rich_media_meta_nickname\" id=\"profileBt\"><a href=\"javascript:void(0);\" class=\"wx_tap_link js_wx_tap_highlight weui-wa-hotarea\" id=\"js_name\">\u751f\u4fe1\u679c&nbsp;&nbsp;<\/a><\/span><em id=\"publish_time\" class=\"rich_media_meta rich_media_meta_text\">2023-05-03 19:00:36<\/em><\/div>\n<p><content><\/p>\n<section style=\"white-space: normal;margin-bottom: 8px;\" data-mpa-powered-by=\"yiban.io\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.18518518518518517\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/1_0CuCiczxXATRA1NT7QsFibQGILBxvQ-37.jpg?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/zcicibWZessAx2cF5xxW6pBGPmgTUt8qTlL9RiabvDGL72zZRhzS10IN01ZYt0CuCiczxXATRA1NT7QsFibQGILBxvQ\/640?wx_fmt=jpeg'\" data-type=\"jpeg\" data-w=\"1080\" style=\"font-size: 16px;text-align: center;height: auto !important;\" data-recalc-dims=\"1\"><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;font-size: 16px;\">\n<section powered-by=\"xiumi.us\" style=\"box-sizing: border-box;\">\n<section style=\"box-sizing: border-box;\">\n<section powered-by=\"xiumi.us\" style=\"box-sizing: border-box;\">\n<section style=\"box-sizing: border-box;font-size: 16px;\">\n<section style=\"box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">\u6211\u4eec\u4e3a\u4f55\u8981\u505a\u5355\u7ec6\u80de\u4e92\u4f5c\u5206\u6790\uff1f\u8bb8\u591a\u751f\u7269\u8fdb\u7a0b\u548c\u7ec6\u80de\u901a\u8baf\u606f\u606f\u76f8\u5173\uff0c\u6bd4\u5982\u5668\u5b98\u5f62\u6210\uff0c\u80da\u80ce\u53d1\u80b2\uff0c\u764c\u75c7\u53d1\u751f\u53d1\u5c55\uff0c\u708e\u75c7\u53cd\u5e94\uff0c\u836f\u7269\u4f5c\u7528\u548c\u8010\u836f\u7814\u7a76\u7b49\uff1b\u8be5\u5206\u6790\u5728\u5355\u7ec6\u80de\u5206\u6790\u4e2d\u5177\u6709\u5f88\u9ad8\u7684\u91cd\u8981\u6027\uff0c\u8be5\u5206\u6790\u5c5e\u4e8e\u5355\u7ec6\u80de\u5206\u6790\u4e2d\u7684\u9ad8\u7ea7\u5206\u6790\u5185\u5bb9\uff0c\u5728\u6587\u7ae0\u4e2d\u6dfb\u52a0\u8be5\u5206\u6790\u4f1a\u4f7f\u4f60\u7684\u6587\u7ae0\u589e\u8272\u4e0d\u5c11\uff0c\u4eca\u5929\u5c0f\u679c\u60f3\u5c1d\u8bd5\u591a\u6837\u672c\u7ec6\u80de\u4e92\u4f5c\u5206\u6790\uff0c\u8fd8\u662f\u5229\u7528CellChat \u5305\u8fdb\u884c\u5206\u6790\uff0c\u6559\u7a0b\u53ef\u4ee5\u53c2\u8003\u5b98\u7f51(<span style=\"background-color: rgb(255, 251, 0);\"><strong><span style=\"background-color: rgb(255, 251, 0);color: rgb(136, 136, 136);font-size: 14px;\">https:\/\/htmlpreview.github.io\/?https:\/\/github.com\/sqjin\/CellChat\/blob\/master\/tutorial\/Comparison_analysis_of_multiple_datasets.html<\/span><\/strong><\/span>),\u5982\u679c\u89c9\u5f97\u63a8\u6587\u4e0d\u9519\uff0c\u70b9\u8d5e\u52a0\u5173\u6ce8\u5965\uff0c\u8bdd\u4e0d\u591a\u8bf4\u5f00\u59cb\u4eca\u5929\u7684\u5206\u4eab\uff0c\u4ee3\u7801\u5982\u4e0b\uff1a<\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">1.&nbsp;\u5b89\u88c5\u9700\u8981\u7684R\u5305<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"c\"><section style=\"margin-bottom: 8px;\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">library(devtools)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">devtools::install_github(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"sqjin\/CellChat\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">install.packages(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"magrittr\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">install.packages(\u201cpatchwork\u201d)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">install.packages(\u201ctidyverse\u201d)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">BioCmanager::install(\u201cSeurat\u201d)<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">2.&nbsp;\u5bfc\u5165\u9700\u8981\u7684R\u5305<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"c\"><section style=\"margin-bottom: 8px;\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">library(CellChat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">library(patchwork)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">library(magtittr)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">library(tidyverse)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">library(Seurat)<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">3.&nbsp;\u8bfb\u53d6\u793a\u4f8b\u6570\u636e<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"c\"><section style=\"margin-bottom: 8px;\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">#\u8be5\u6570\u636e\u4e3a\u524d\u671f\u4fdd\u5b58\u7684\u5355\u7ec6\u80de\u6570\u636e\u5206\u6790\u7ed3\u679c<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">immune.combined&lt;- readRDS(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"immune.combined.rds\"<\/span>)<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">4.&nbsp;Chellchat\u591a\u6837\u672c\u5206\u6790<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"c\"><section style=\"margin-bottom: 8px;\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">## STIM\u7ec4\u6837\u672cchellchat\u5206\u6790<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.object &lt;- subset(immune.combined,stim==<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"STIM\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.data.input &lt;- GetAssayData(stim.object, assay = <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"RNA\"<\/span>, slot = <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"data\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.meta &lt;- stim.object@meta.data[,c(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"seurat_annotations\"<\/span>, <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"stim\"<\/span>)]<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.meta$CellType %&lt;&gt;% as.<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">vector<\/span>(.)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">#\u521b\u5efaCellChat\u5bf9\u8c61<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.cellchat &lt;- createCellChat(object = stim.data.input)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.cellchat &lt;- addMeta(stim.cellchat, meta = stim.meta)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.cellchat &lt;- setIdent(stim.cellchat, ident.use = <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"seurat_annotations\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">cellchat &lt;- createCellChat(object = data.input, meta = meta, group.by = <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"labels\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"># CellChat\u63d0\u4f9b\u7684\u4eba\u7684\u914d\u53d7\u4f53\u6570\u636e\u5e93<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.cellchat@DB &lt;- CellChatDB.human<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.cellchat &lt;- subsetData(stim.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">#\u4f7f\u7528\u591a\u7ebf\u7a0b\u8fdb\u884c\u8ba1\u7b97<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"><span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">future<\/span>::plan(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"multisession\"<\/span>, workers = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">10<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">#\u7528\u4e8e\u7ec6\u80de-\u7ec6\u80de\u901a\u4fe1\u5206\u6790\u7684\u8868\u8fbe\u6570\u636e\u9884\u5904\u7406<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.cellchat &lt;- identifyOverExpressedGenes(stim.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.cellchat &lt;- identifyOverExpressedInteractions(stim.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.cellchat &lt;- projectData(stim.cellchat, PPI.human) &nbsp;<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">#\u5728\u4fe1\u53f7\u901a\u8def\u6c34\u5e73\u63a8\u65ad\u7ec6\u80de\u95f4\u901a\u4fe1<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.cellchat &lt;- computeCommunProb(stim.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">#\u8ba1\u7b97\u805a\u5408\u7684\u7ec6\u80de\u95f4\u7684\u901a\u4fe1\u7f51\u7edc<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">stim.cellchat &lt;- aggregateNet(stim.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">#\u4fdd\u5b58cellchat\u5206\u6790\u7ed3\u679c<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">saveRDS(stim.cellchat,<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"stim.cellchat.rds\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">## CTRL\u7ec4\u6837\u672cCellchat\u5206\u6790<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.object &lt;- subset(immune.combined,stim==<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"CTRL\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.data.input &lt;- GetAssayData(ctrl.object, assay = <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"RNA\"<\/span>, slot = <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"data\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.meta = ctrl.object@meta.data[,c(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"seurat_annotations\"<\/span>, <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"stim\"<\/span>)]<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.meta$CellType %&lt;&gt;% as.<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">vector<\/span>(.)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.cellchat &lt;- createCellChat(object = ctrl.data.input)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.cellchat &lt;- addMeta(ctrl.cellchat, meta = ctrl.meta)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.cellchat &lt;- setIdent(ctrl.cellchat, ident.use = <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"seurat_annotations\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.cellchat@DB &lt;- CellChatDB.human<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.cellchat &lt;- subsetData(ctrl.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"><span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">future<\/span>::plan(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"multisession\"<\/span>, workers = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">10<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">#\u7528\u4e8e\u7ec6\u80de-\u7ec6\u80de\u901a\u4fe1\u5206\u6790\u7684\u8868\u8fbe\u6570\u636e\u9884\u5904\u7406<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.cellchat &lt;- identifyOverExpressedGenes(ctrl.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.cellchat &lt;- identifyOverExpressedInteractions(ctrl.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.cellchat &lt;- projectData(ctrl.cellchat, PPI.human) &nbsp;<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.cellchat &lt;- computeCommunProb(ctrl.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.cellchat &lt;- computeCommunProbPathway(ctrl.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">#\u8ba1\u7b97\u805a\u5408\u7684\u7ec6\u80de\u95f4\u7684\u901a\u4fe1\u7f51\u7edc<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">ctrl.cellchat &lt;- aggregateNet(ctrl.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">#\u4fdd\u5b58cellchat\u5206\u6790\u7ed3\u679c<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">saveRDS(ctrl.cellchat,<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"ctrl.cellchat.rds\"<\/span>)<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">5.&nbsp;\u52a0\u8f7d\u4e24\u4e2a\u6570\u636e\u96c6\u7684Cellchat\u5bf9\u8c61\uff0c\u7136\u540e\u5408\u5e76\u5728\u4e00\u8d77<\/section>\n<\/section>\n<section style=\"box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"c\"><section style=\"margin-bottom: 8px;\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">object.<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">list<\/span> &lt;- <span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">list<\/span>(CTRL = ctrl.cellchat, STIM = stim.cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">cellchat &lt;- mergeCellChat(object.<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">list<\/span>, add.names = names(object.<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">list<\/span>))<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">6. \u8fdb\u884c\u4e92\u4f5c\u6b21\u6570\u548c\u4e92\u4f5c\u5f3a\u5ea6\u5206\u6790<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">gg1 &lt;- compareInteractions(cellchat, show.legend = F, group = c(1,2))<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">gg2 &lt;- compareInteractions(cellchat, show.legend = F, group = c(1,2), measure = \"weight\")<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">pdf(\"compareInteractions.pdf\",height = 5,width = 8)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">gg1 + gg2<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">dev.off()<\/span><\/code><\/section><\/pre>\n<\/section>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.6059113300492611\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/2_pcLDKjpXwBXPU3JocSkQ493HkXZ63g-1.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAwMAIZEvnPpn30mzO7xZQxejH2zf1j56bKpPHLicaNVJz86ZpcLDKjpXwBXPU3JocSkQ493HkXZ63g\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"406\" style=\"height: auto !important;\" data-recalc-dims=\"1\"><\/p>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">\u6ce8\uff1a\u4e24\u4e2a\u5206\u7ec4\u7684\u4e92\u4f5c\u6b21\u6570\u548c\u4e92\u4f5c\u5f3a\u5ea6\u67f1\u72b6\u56fe<\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">7.&nbsp;\u4e0d\u540c\u7ec6\u80de\u7fa4\u76f8\u4e92\u4f5c\u7528\u6b21\u6570\u548c\u4f5c\u7528\u5f3a\u5ea6\u5dee\u5f02<\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">#\u7f51\u7edc\u56fe\u7ed8\u5236<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"c\"><section style=\"margin-bottom: 8px;\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">pdf(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"netVisual_diffInteraction.pdf\"<\/span>,height = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">10<\/span>,width = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">10<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">par(mfrow = c(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>), xpd=TRUE)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">netVisual_diffInteraction(cellchat, weight.scale = T)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">netVisual_diffInteraction(cellchat, weight.scale = T, measure = <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"weight\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">dev.off()<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"1.7880794701986755\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/3_v0mXbfxEQBVVpiclUV2zMN1kvohfSQ-1.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAwMAIZEvnPpn30mzO7xZQxeoIyDFbYWEgL62ibTHyNmiaReVXkv0mXbfxEQBVVpiclUV2zMN1kvohfSQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"302\" style=\"height: auto !important;\" data-recalc-dims=\"1\"><\/p>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">#\u70ed\u56fe\u7ed8\u5236<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"c\"><section style=\"margin-bottom: 8px;\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">gg1 &lt;- netVisual_heatmap(cellchat)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">gg2 &lt;- netVisual_heatmap(cellchat, measure = <span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"weight\"<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">pdf(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"netVisual_heatmap.pdf\"<\/span>,height = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">5<\/span>,width = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">8<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">gg1 + gg2<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">dev.off()<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.6350210970464135\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/4_4IxApNwibmXFDGE4qrSykcx6a4yADQ-1.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAwMAIZEvnPpn30mzO7xZQxeo1BCevryelEdsCOl43WsDvhNe4IxApNwibmXFDGE4qrSykcx6a4yADQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"474\" style=\"height: auto !important;\" data-recalc-dims=\"1\"><\/p>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">#\u4e0d\u540c\u6570\u636e\u96c6\u7684\u4e92\u4f5c\u7f51\u7edc\u56fe<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"c\"><section style=\"margin-bottom: 8px;\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">pdf(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"netVisual_diffInteraction.pdf\"<\/span>,height = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">10<\/span>,width = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">10<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">weight.max &lt;- getMaxWeight(object.<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">list<\/span>, attribute = c(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"idents\"<\/span>,<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"count\"<\/span>))<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">par(mfrow = c(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>,<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>), xpd=TRUE)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\" style=\"box-sizing: border-box;\">for<\/span> (i in <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>:length(object.<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">list<\/span>)) {<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\"> &nbsp;netVisual_circle(object.<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">list<\/span>[[i]]@net$count, weight.scale = T, label.edge= F, edge.weight.max = weight.max[<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>], edge.width.max = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">12<\/span>, title.name = paste0(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"Number of interactions - \"<\/span>, names(object.<span class=\"code-snippet__built_in\" style=\"box-sizing: border-box;\">list<\/span>)[i]))<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">}<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">dev.off()<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.7906976744186046\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/5_DCjckL89oM8H2wIQysY2HQJ64TyzOQ-1.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAwMAIZEvnPpn30mzO7xZQxetUNaqb5IticpKR0ZSKF6lNXEcDCjckL89oM8H2wIQysY2HQJ64TyzOQ\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"430\" style=\"height: auto !important;\" data-recalc-dims=\"1\"><\/p>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">#\u8bc6\u522b\u4e0a\u8c03\u548c\u4e0b\u8c03\u7684\u53d7\u4f53-\u914d\u4f53\u5bf9<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"c\"><section style=\"margin-bottom: 8px;\"><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">pdf(<span class=\"code-snippet__string\" style=\"box-sizing: border-box;\">\"netVisual_bubble.pdf\"<\/span>,height = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">10<\/span>,width = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">10<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">netVisual_bubble(cellchat, sources.use = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">4<\/span>, targets.use = c(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">5<\/span>:<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">11<\/span>),  comparison = c(<span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">1<\/span>, <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">2<\/span>), angle.x = <span class=\"code-snippet__number\" style=\"box-sizing: border-box;\">45<\/span>)<\/span><\/code><code style=\"box-sizing: border-box;\"><span class=\"code-snippet_outer\">dev.off()<\/span><\/code><\/section><\/pre>\n<\/section>\n<section style=\"box-sizing: border-box;\" powered-by=\"xiumi.us\">\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.9518413597733711\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/6_oYS4pFibQH3iaSlzvhIyaxLjrbhHkg-1.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAwMAIZEvnPpn30mzO7xZQxe9F29nwBib6FnL4LJvMKv4PFUAmiaoYS4pFibQH3iaSlzvhIyaxLjrbhHkg\/640?wx_fmt=png'\" data-type=\"png\" data-w=\"353\" style=\"height: auto !important;\" data-recalc-dims=\"1\"><\/p>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">\u4eca\u5929\u5c0f\u679c\u5bf9\u5355\u7ec6\u80de\u591a\u6837\u672c\u7ec6\u80de\u4e92\u4f5c\u5206\u6790\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u5e72\u8d27\u6ee1\u6ee1\u5965\uff0c\u6709\u9700\u8981\u7684\u53ef\u4ee5\u501f\u9274\u5b66\u4e60\u5965\uff0c\u8fdb\u884c\u8be5\u5206\u6790\u9700\u8981\u719f\u7ec3\u638c\u63e1\u5355\u7ec6\u80de\u5206\u6790\u6d41\u7a0b\uff0c\u5355\u7ec6\u80de\u76f8\u5173\u5206\u6790\u5185\u5bb9\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u672c\u516c\u53f8\u65b0\u5f00\u53d1\u7684\u4e91\u5e73\u53f0\u751f\u7269\u4fe1\u606f\u5206\u6790\u5c0f\u5de5\u5177\uff0c\u96f6\u4ee3\u7801\u5b8c\u6210\u5206\u6790\uff0c<\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><span style=\"background-color: rgb(255, 251, 0);\">\u4e91\u5e73\u53f0\u7f51\u5740\uff1a<\/span><span style=\"font-size: 14px;\"><strong><span style=\"font-size: 14px;background-color: rgb(255, 251, 0);color: rgb(136, 136, 136);\">http:\/\/www.biocloudservice.com\/home.html<\/span><\/strong><\/span><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\"><span style=\"background-color: rgb(255, 251, 0);color: rgb(255, 0, 0);\">\u6587\u672b\u70b9\u51fb\u9605\u8bfb\u539f\u6587\u53ef\u4ee5\u8df3\u8f6c<\/span><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">\u5305\u62ec\u5355\u7ec6\u80de\u5206\u6790-<span style=\"font-size: 14px;\"><strong><span style=\"font-size: 14px;background-color: rgb(255, 251, 0);color: rgb(136, 136, 136);\">http:\/\/www.biocloudservice.com\/366\/366.php<\/span><\/strong><\/span><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">\u5355\u7ec6\u80de\u6570\u636e\u7ed8\u5236\u5c0f\u63d0\u7434\u56fe-<span style=\"font-size: 14px;\"><strong><span style=\"font-size: 14px;background-color: rgb(255, 251, 0);color: rgb(136, 136, 136);\">http:\/\/www.biocloudservice.com\/788\/788.php<\/span><\/strong><\/span><\/section>\n<section style=\"white-space: normal;box-sizing: border-box;margin-bottom: 8px;\">\u7ed8\u5236\u5355\u7ec6\u80detSNE\u56fe-<span style=\"font-size: 14px;\"><strong><span style=\"font-size: 14px;background-color: rgb(255, 251, 0);color: rgb(136, 136, 136);\">http:\/\/www.biocloudservice.com\/229\/229.php&nbsp;<\/span><\/strong><\/span>\u7b49\u5355\u7ec6\u80de\u5206\u6790\u76f8\u5173\u5c0f\u5de5\u5177\uff0c\u4eca\u5929\u5c0f\u679c\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\uff0c\u6b22\u8fce\u5c0f\u4f19\u4f34\u548c\u5c0f\u679c\u4e00\u8d77\u8ba8\u8bba\u5b66\u4e60\u5965\u3002<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section powered-by=\"xiumi.us\" style=\"box-sizing: border-box;\">\n<section style=\"box-sizing: border-box;margin-bottom: 8px;\"><br  \/><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"white-space: normal;box-sizing: border-box;font-size: 16px;\">\n<section style=\"box-sizing: border-box;\">\n<section>\n<section style=\"box-sizing: border-box;max-width: 100%;\">\n<section>\n<section style=\"box-sizing: border-box;max-width: 100%;\">\n<section>\n<section style=\"box-sizing: border-box;max-width: 100%;\">\n<section>\n<section style=\"box-sizing: border-box;\">\n<section powered-by=\"xiumi.us\" style=\"box-sizing: border-box;\">\n<section style=\"line-height: 1.8;box-sizing: border-box;\">\n<section powered-by=\"xiumi.us\" style=\"box-sizing: border-box;\">\n<section style=\"box-sizing: border-box;margin-bottom: 8px;\">\n<section powered-by=\"xiumi.us\" style=\"margin-top: 10px;margin-bottom: 20px;display: flex;flex-flow: row nowrap;text-align: center;justify-content: center;box-sizing: border-box;\">\n<section style=\"display: inline-block;width: 543.108px;vertical-align: top;border-style: solid;border-width: 1px;border-color: rgb(67, 67, 67);flex: 0 0 auto;align-self: flex-start;height: auto;box-shadow: rgb(255, 219, 118) 6px 6px 0px;background-color: rgb(255, 255, 255);box-sizing: border-box;\">\n<section powered-by=\"xiumi.us\" style=\"text-align: left;justify-content: flex-start;display: flex;flex-flow: row nowrap;box-sizing: border-box;\">\n<section style=\"display: inline-block;width: 378.611px;vertical-align: top;align-self: flex-start;flex: 0 0 auto;height: auto;box-sizing: border-box;\">\n<section powered-by=\"xiumi.us\" style=\"margin-top: 10px;box-sizing: border-box;\">\n<section style=\"text-align: center;box-sizing: border-box;\">\n<p style=\"box-sizing: border-box;\"><strong style=\"box-sizing: border-box;\"><span style=\"font-size: 15px;box-sizing: border-box;\">\u751f\u4fe1\u4ebaR\u8bed\u8a00\u5b66\u4e60\u5fc5\u5907<\/span><\/strong><\/p>\n<p style=\"box-sizing: border-box;\"><strong style=\"box-sizing: border-box;\"><span style=\"font-size: 15px;box-sizing: border-box;\">\u7acb\u523b\u62e5\u6709\u4e00\u4e2aRstudio\u8d26\u53f7<\/span><\/strong><\/p>\n<p style=\"box-sizing: border-box;\"><strong style=\"box-sizing: border-box;\"><span style=\"font-size: 15px;box-sizing: border-box;\">\u5f00\u542f\u5347\u7ea7\u6a21\u5f0f\u5427<\/span><\/strong><\/p>\n<p style=\"box-sizing: border-box;\"><span style=\"color: rgb(255, 129, 36);box-sizing: border-box;font-size: 12px;\">\uff0856\u7ebf\u7a0b\uff0c256G\u5185\u5b58\uff0c\u4e2a\u4eba\u5b58\u50a81T\uff09<\/span><\/p>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"display: inline-block;width: 162.257px;vertical-align: top;align-self: flex-start;flex: 0 0 auto;height: auto;box-sizing: border-box;\">\n<section powered-by=\"xiumi.us\" style=\"margin-top: 10px;margin-bottom: 10px;text-align: center;line-height: 0;box-sizing: border-box;\">\n<section style=\"max-width: 100%;vertical-align: middle;display: inline-block;line-height: 0;box-sizing: border-box;\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-cropselx1=\"0\" data-cropselx2=\"162\" data-cropsely1=\"0\" data-cropsely2=\"162\" data-ratio=\"1\" data-type=\"jpeg\" data-w=\"400\" style=\"vertical-align: middle;width: 111px;box-sizing: border-box;height: auto !important;\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/7_ib2l1ye6HNIkwTG696C2pf9yAtdeGA-4.png?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAyB69UyXDLG0wQcISNwmL6DlpIKVBnCSOXHTWJhLcxic2qtibaib2l1ye6HNIkwTG696C2pf9yAtdeGA\/640?wx_fmt=png'\"  data-recalc-dims=\"1\" \/><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"box-sizing: border-box;\">\n<section style=\"text-align: center;margin-bottom: 8px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzAwNjE0MDY3MQ==&amp;mid=2650750896&amp;idx=2&amp;sn=eedf639d72ed894b623b97cb453ec731&amp;chksm=831a7820b46df136d60bbcd98da1545dc7cdc7d23013ee352ad58b8413bd8b74496a1cb24158&amp;scene=21#wechat_redirect\" textvalue=\"\u4f60\u5df2\u9009\u4e2d\u4e86\u6dfb\u52a0\u94fe\u63a5\u7684\u5185\u5bb9\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"1\" rel=\"noopener\"><span class=\"js_jump_icon h5_image_link\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.3333333333333333\" data-s=\"300,640\" src=\"https:\/\/i0.wp.com\/www.biocloudservice.com\/wordpress\/wp-content\/uploads\/2024\/06\/8_iaiaHEzznKTOlyfKcqVQP42FDibo8w-4.jpg?w=640\" onerror=\"this.src='https:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/zcicibWZessAy34u8tx4u4aB0BOvhfL2bPXcU0hlPVBlHyCV8KxucGNR7x7NeiaiaHEzznKTOlyfKcqVQP42FDibo8w\/640?wx_fmt=jpeg'\" data-type=\"jpeg\" data-w=\"600\" style=\"height: auto !important;\" data-recalc-dims=\"1\"><\/span><\/a><\/section>\n<section style=\"margin-bottom: 8px;\" class=\"mp_profile_iframe_wrp\"><mp-common-profile class=\"custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-weuitheme=\"light\" data-id=\"Mzg3OTg3MjQyNg==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/zcicibWZessAwvyLLXlYq0SJu55voD1bnb7juHUdkAibE5woL3FrUvV4nmfhXjL5DgcNYqYFsyFCZrof6ibA2ibPmuw\/0?wx_fmt=png\" data-nickname=\"\u751f\u4fe1\u679c\" data-alias=\"shengxinguoer\" data-signature=\"\u751f\u4fe1\u5165\u95e8\u3001R\u8bed\u8a00\u3001\u751f\u4fe1\u56fe\u89e3\u8bfb\u4e0e\u7ed8\u5236\u3001\u8f6f\u4ef6\u64cd\u4f5c\u3001\u4ee3\u7801\u590d\u73b0\u3001\u751f\u4fe1\u786c\u6838\u77e5\u8bc6\u6280\u80fd\u3001\u670d\u52a1\u5668\u7b49\" data-from=\"2\" data-weui-theme=\"light\"><\/mp-common-profile><\/section>\n<\/section>\n<\/section>\n<section style=\"white-space: normal;box-sizing: border-box;font-size: 16px;\">\n<section powered-by=\"xiumi.us\" style=\"margin-top: 0.5em;box-sizing: border-box;\">\n<section style=\"height: 1px;background-color: rgb(0, 150, 136);box-sizing: border-box;\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<section style=\"margin-top: 0.3em;margin-bottom: 0.3em;height: 3px;background-color: rgb(0, 150, 136);box-sizing: border-box;\"><svg viewbox=\"0 0 1 1\" style=\"float:left;line-height:0;width:0;vertical-align:top;\"><\/svg><\/section>\n<section style=\"padding: 0.5em;border-width: 1px;border-style: solid;box-shadow: rgb(226, 226, 226) 0px 16px 1px -13px;border-color: rgb(0, 150, 136);box-sizing: border-box;\">\n<section powered-by=\"xiumi.us\" style=\"text-align: left;box-sizing: border-box;\">\n<section style=\"color: rgb(255, 129, 36);text-align: justify;box-sizing: border-box;\">\n<section style=\"box-sizing: border-box;margin-bottom: 8px;\">\u70b9\u51fb<strong style=\"box-sizing: border-box;\"><span style=\"color: rgb(0, 150, 136);box-sizing: border-box;\">\u201c\u9605\u8bfb\u539f\u6587\u201d<\/span><\/strong>\u7acb\u523b\u62e5\u6709<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"font-size: 32px;color: rgb(0, 150, 136);box-sizing: border-box;margin-bottom: 8px;\">\u2193\u2193\u2193&nbsp;<\/section>\n<\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<div class=\"msg_source_url\"><a href=\"http:\/\/www.biocloudservice.com\/home.html\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u539f\u6587<\/a><\/div>\n<p><\/content><\/p>\n<div class=\"msg_source_url\"><a href=\"http:\/\/www.biocloudservice.com\/home.html\" target=\"_blank\" rel=\"noopener\">\u9605\u8bfb\u539f\u6587<\/a><\/div>\n<\/div>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u91cd\u78c5\u6765\u88ad\uff0c\u53ea\u97005\u5206\u949f\u5b8c\u5168\u638c\u63e1\u5355\u7ec6\u80de\u591a\u6837\u672c\u7ec6\u80de\u4e92\u4f5c\u5206\u6790 \u539f\u521b&nbsp;&nbsp;\u5c0f\u679c&nbsp;&nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","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\/48313"}],"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=48313"}],"version-history":[{"count":1,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/48313\/revisions"}],"predecessor-version":[{"id":48342,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/48313\/revisions\/48342"}],"wp:attachment":[{"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48313"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.biocloudservice.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}