找回密码
 注册
查看: 508|回复: 0

R语言 genomes包 plotby()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 19:25:15 | 显示全部楼层 |阅读模式
plotby(genomes)
plotby()所属R语言包:genomes

                                        Plot groups of genomes by release date
                                         绘制基因组团体发行日期

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Plots the cumulative number of genomes by released date
绘制基因组的发布日期的累计数


用法----------Usage----------


plotby(x, groupby = "status", subset = NA, top = 5,
labels = FALSE,  curdate=TRUE, abbrev = TRUE, flip = NA,
legend = "topleft", lbty = "o", lcol = 1, ltitle = NULL, lcex = 1,
lsort = TRUE, cex = 1, inset=0, ylim = NA, las = 1, lwd = 1, log = "",
xlab = "Release Date", ylab = "Genomes", type='l',
col = c("blue", "red", "green3", "magenta", "yellow"),
lty = 1:top, pch = c(15:18, 1:3), ...)



参数----------Arguments----------

参数:x
a genomes data frame   
1的基因组数据框


参数:groupby
  a column name in the genomes table or a vector to group by
在基因组的表或向量组列名


参数:subset
logical vector indicating rows to keep  
逻辑向量,表示保留的行


参数:top
number of top groups to display   
顶级组的数量,以显示


参数:labels
plot a single line with labeled points using genome name column   
使用基因组name列绘制一个标记点的单行


参数: curdate
include the current date on x-axis, if false, then default is range of release dates  
包括x轴的当前日期,如果为false,则默认为发行日期的范围


参数:abbrev
abbreviated genome names  
略基因组名称


参数:flip
a number indicating where to flip labels from right to left, default is middle of plot  
数字显示从右到左翻转标签,默认是中间的图


参数:legend
a legend keyword or vector of x,y coordinates, defaults to top-left corner. Use NA for no legend  
一个传奇的关键字或向量的X,Y坐标,默认为左上角。使用没有传说中的NA


参数:lbty
legend box type
图例“框中,键入


参数:lcol
number of columns in legend  
传说中的列数


参数:ltitle
legend title  
图例标题


参数:lcex
legend size expansion  
传说规模扩张


参数:inset
inset legend distances(s)   
插图传说距离(S)


参数:lsort
sort legend by decreasing order of genomes, default true
传说为了降低基因组排序,默认为true


参数:cex
label size expansion  
标签规模的扩大


参数:ylim
y axis limits  
y轴限制


参数:las
  rotate axis labels  
旋转轴标签


参数:lwd
line width
线宽


参数:log
log scale  
登录规模


参数:xlab
x axis label  
X轴标签


参数:ylab
y axis label  
Y轴标签


参数:type
plot type
图类型


参数:col
line or point colors  
线或点颜色


参数:lty
line type  
线路类型


参数:pch
point type  
点类型


参数:...
additional items passed to plot  
其他项目传递到图


Details

详情----------Details----------

Two different plot types are available.  The default is to plot multiple lines, one for each group (like matplot).  If  labels=TRUE, then a single line is drawn with different labeled points for each
两个不同类型的图。默认是绘制多行,每组一(如matplot)。  labels=TRUE如果,然后单行绘制为每个不同的标记点


值----------Value----------

A plot of released dates by group
一组发布日期图


作者(S)----------Author(s)----------


Chris Stubben



参见----------See Also----------

plot.genomes  
plot.genomes


举例----------Examples----------


data(lproks)
# default group is status[默认组是状态]
plotby(lproks)
plotby(lproks, 'habitat', top=3)

## groupby can be a vector[#groupby函数可以是一个向量]
plotby(lproks, genus(lproks$name), log='y', lcex=.7)
plotby(lproks, factor(lproks$pathogen %in% c("No"),
   labels=c("Pathogen", "Non-pathogen")), pathogen!="")

# OR plot labels[或图标签]
plotby(lproks, subset=name %like% 'Yersinia pestis*', labels=TRUE, cex=.7, lbty='n')


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-7 16:12 , Processed in 0.021993 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表