登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

云之南

风声,雨声,读书声,声声入耳;家事,国事,天下事,事事关心

 
 
 

日志

 
 
关于我

专业背景:计算机科学 研究方向与兴趣: JavaEE-Web软件开发, 生物信息学, 数据挖掘与机器学习, 智能信息系统 目前工作: 基因组, 转录组, NGS高通量数据分析, 生物数据挖掘, 植物系统发育和比较进化基因组学

barplot图  

2010-10-20 22:00:54|  分类: R&Bioconductor |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

par(las=2, xpd=NA)
barplot(VADeaths[1:2,], angle = c(45, 135),
        density = 20, col = "grey",
        names=c("RM", "RF", "UM", "UF"),
        horiz=TRUE,space=0, axes=FALSE)
par(las=1,xpd=NA)
axis(1)
axis(2,labels=FALSE)

 

help(barplot)

 

 

x<-c(52,2387,380,348,1259,170,347,461,67,1990,82,139,172,1,149,849,2246,1459,60,163,6,141,604,215,1120,25,21,37,3976,3005,12,93,66,162,98,109,123,136,375,644,478,416,766,1042,336,1160,380,393,1045,470,112,19,429,147,1,87,134,1054,189,51,835,1357,3807,115,54,2,105,160,38,194,15,58,7,16,16,47,2006,15,68,3311,523,18,1368,1356,1820,694,62,158,43,61,86,1,271,12,25)

par(las=2)
par(mar=c(4,10,3,2))
barplot(x,col="violet",cex.names=0.4,
        names=c("reproduction","nucleotide binding","molecular_function","nucleic acid binding","DNA binding","chromatin binding",
"transcription factor activity","RNA binding","motor activity","catalytic activity","nuclease activity",
"signal transducer activity","receptor activity","receptor binding","structural molecule activity","transporter activity",
"binding","protein binding","cellular_component","extracellular region","extracellular space","cell wall","intracellular","cell","nucleus",
"nuclear envelope","nucleoplasm","nucleolus","cytoplasm","mitochondrion","endosome","vacuole","peroxisome","endoplasmic reticulum",
"Golgi apparatus","cytosol","ribosome","cytoskeleton","plasma membrane","carbohydrate metabolic process","precursor metabolites and energy","nucleic acid metabolic process","DNA metabolic process","transcription","translation","protein modification process","derivative metabolic process",
"lipid metabolic process","transport","response to stress","cell cycle","cell communication",
"signal transduction","multicellular organismal development","behavior","translation factor activity",
"biological_process","metabolic process","cell death","lipid binding","catabolic process","biosynthetic process",
"plastid","thylakoid","response to external stimulus","tropism","response to biotic stimulus","response to abiotic stimulus","anatomical structure morphogenesis",
"response to endogenous stimulus","embryo development","post-embryonic development","ripening","pollination","pollen-pistil interaction","flower development",
"cellular process","response to extracellular stimulus","photosynthesis","membrane","cellular component organization","cell growth","kinase activity","transferase activity","hydrolase activity","protein metabolic process","cellular homeostasis",
"secondary metabolic process","cell differentiation","enzyme regulator activity","carbohydrate binding","external encapsulating structure","transcription regulator activity","growth","regulation of gene expression"),
        horiz=TRUE, axes=TRUE,xlim=c(0,4000),space=0,,width=1)
#par(las=1,xpd=NA)
#axis(side=1,)
#axis(2,labels=FALSE)

x1<-c(52,2387,380,348,1259,170,347,461,67,1990)
par(las=2)
par(mar=c(4,9.4,3,2))
barplot(x1,col="violet",cex.names=0.8,
        names=c("reproduction","nucleotide binding","molecular_function","nucleic acid binding","DNA binding","chromatin binding",
"transcription factor activity","RNA binding","motor activity","catalytic activity"), horiz=TRUE, axes=TRUE,xlim=c(0,2500),space=0,width=1)

  评论这张
 
阅读(1562)| 评论(1)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018