当前位置: 首页 > wzjs >正文

个人网站 审批深圳aso优化

个人网站 审批,深圳aso优化,企业网站如何建立,wordpress wplogin.php如题,这个标题有点长,首先我们需要展示的图是bipartite plot,中文有叫二分图、连线图的,总之就是展示两组之间网络关系。可以应用的地方有很多,不只是我们介绍的互作关系、或者ligands-target。起源是一篇《nature com…

如题,这个标题有点长,首先我们需要展示的图是bipartite plot,中文有叫二分图、连线图的,总之就是展示两组之间网络关系。可以应用的地方有很多,不只是我们介绍的互作关系、或者ligands-target。起源是一篇《nature communications》文章的图,它展示的是ligand于targets。原文提供了代码,可以学习!

image.png

image.png

(reference:Gliovascular transcriptional perturbations in Alzheimer’s disease reveal molecular mechanisms of blood brain barrier dysfunction)
ggraph,首先相比于igraph,在很多设置上因为与ggplot互通,所以会简单很多,没有那么复杂,可操作性更强。layout可以自己设定,也可以参照上面的!

node_info <- rbind(data.frame(node = rownames(active_ligand_target_links), group="target"),data.frame(node = colnames(active_ligand_target_links), group="ligands"))no <- c(rep("no", 20), sample(c('up','down'), size = nrow(node_info)-20, replace = TRUE))
node_info$reg <- sample(no, size =nrow(node_info), replace = TRUE)#构建ggraph作图数据
df_graph <- as_tbl_graph(as.matrix(active_ligand_target_links)) %>% mutate(group=node_info$group, #添加分组信息reg  = node_info$reg)#plot
# sugiyama
ggraph(df_graph, layout = 'igraph', algorithm='bipartite') +geom_edge_link(aes(colour=weight), edge_width =1)+scale_edge_color_gradientn(colours = c("grey80","grey50","grey30","black"))+geom_node_point(aes(fill=reg, filter= group =='ligands'), size=2,shape=21) +geom_node_point(aes(fill=reg, filter= group =='target'), size=2,shape=23)+scale_fill_manual(values = c("#E4502E","#69B7CE","black"),breaks = c("up",'down',"no"),labels = c("up",'down',"no"))+geom_node_text(aes(filter= group =='ligands',label = name),fontface = "italic",hjust=1.1)+geom_node_text(aes(filter= group =='target',label = name),fontface = "italic",hjust=-0.1)+coord_flip()+theme_minimal() +scale_y_discrete(expand = c(0.2,0.2))+ggraph::th_no_axes()#调整layoutLO1 <- layout_as_bipartite(df_graph, maxiter=0);
re_pos <- c(seq(from = 0.5, by = 1, length.out = length(LO1[which(LO1[,2]==1)])),seq(from = 0.5, by = 1.1, length.out = length(LO1[which(LO1[,2]==0)])))LO1[,1] <- re_posggraph(df_graph, layout = LO1) +geom_edge_link(aes(colour=weight), edge_width =1)+ #连线scale_edge_color_gradientn(colours = c(alpha("grey90",0.5),alpha("grey60",0.5),alpha("grey30",0.5),"black"))+#连线颜色geom_node_point(aes(fill=reg, filter= group =='ligands'), size=2,shape=21) +#节点设置geom_node_point(aes(fill=reg, filter= group =='target'), size=2,shape=23)+scale_fill_manual(values = c("#E4502E","#69B7CE","black"),breaks = c("up",'down',"no"),labels = c("up",'down',"no"))+geom_node_text(aes(filter= group =='ligands',label = name),fontface = "italic",hjust=1.1)+ #文字标注geom_node_text(aes(filter= group =='target',label = name),fontface = "italic",hjust=-0.1)+coord_flip()+theme_minimal() +scale_y_discrete(expand = c(0.2,0.2))+ggraph::th_no_axes()

image.png

http://www.dtcms.com/wzjs/157267.html

相关文章:

  • 做网站公司松江南京 seo 价格
  • 做视频营销哪个网站好最新国内重大新闻
  • 国外的哪个网站可以做跳转石家庄网站建设方案推广
  • 网站建设南昌直接打开百度
  • 电商供应链网站数据分析方法
  • 自助网站制作系统源码今日头条淄博新闻
  • 有没有做ppt很厉害的网站今天头条新闻
  • 公司网站要多少钱免费培训课程
  • 南宁网站建设公司seo优化aso推广优化
  • 免费查企业电话网站seo策略
  • 国外真实赚钱网站什么是搜索推广
  • 什么网站上可以做国际贸易谷歌seo综合查询
  • 郑州系统开发大连seo按天付费
  • 新疆建设网站申报个人能接广告联盟吗
  • 做网站 怎么样找客户如何建造一个网站
  • 阳江公司网站建设寻找客户的12种方法
  • 手机优化怎样解除sem和seo是什么职业
  • 怎么免费从网站上做宣传广告设计与制作需要学什么
  • 平度建设局网站百度营销推广
  • lumen 做企业网站北京seo外包
  • 高端企业网站建设公司怎么做实用性深圳seo博客
  • 鹤山区网站建设sem推广竞价托管
  • 360搜索怎么做网站自然优化企业营销策划合同
  • 网站制作公司网推广方案流程
  • 网站建设 预付款seo网站推广费用
  • ssm做的直播网站营销策划师
  • 网站开发维护前景简单的个人网页制作html
  • 上海网站推广专员需求优化大师的作用
  • 如何劫持网站做跳转百度学术官网入口
  • 浙江网站开发公司全网霸屏推广系统