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

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

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

                                        DisplayPars constructs objects of type DisplayPars which are used
                                         DisplayPars构建类型使用DisplayPars的对象

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

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

DisplayPars takes any number of named arguments which will be used by the drawGD method of the gdObject. These arguments are analagous to both par and gp of the traditional and grid graphics systems respectively. Different functions support different graphical parameters - thus it is necessary to consult the documentation of the particular gdObject to determine which DisplayPars will be used.
DisplayPars需要任何将由用于对gdObject drawGD方法命名参数的数量。这些论据是analagous的标准杆,而传统和电网图形系统的GP分别。不同的功能支持不同的图形参数 - 因此,它是必要的咨询文件,的特别gdObject,以确定哪些DisplayPars将用于。


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


DisplayPars(...)



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

参数:...
name value pairs  
名称值对


Details

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

It is not recommended to call new("DisplayPars", ...) directly; rather this function DisplayPars() should be called instead. If a gdObject has already been instantiated then the appropriate method for changing graphical parameters is: setPar.
这是不建议调用new("DisplayPars", ...)直接,而这个功能DisplayPars()应改为调用。如果gdObject已经实例化,然后改变图形参数的适当的方法是:setPar。


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

Returns an object of type DisplayPars, generally this will be called during a call to the new function for a particular gdObject.
返回一个对象类型DisplayPars的,一般会被要求在一个特定gdObject的调用new功能。


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


James Bullard



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


minbase = 10000
maxbase = 15000
mart <- useMart("ensembl", dataset = "scerevisiae_gene_ensembl")
genesplus <- new("GeneRegion", start = minbase, end = maxbase, biomart = mart,
                strand = "+", chromosome = "I", dp = DisplayPars(color =
                "red"))
gaxis <- new("GenomeAxis", add53 = TRUE, add35 = TRUE)
genesminus <- new("GeneRegion", start = minbase, end = maxbase, biomart = mart,
                strand = "-", chromosome = "I", dp = DisplayPars(color =
                "purple", size = 2))
title <- new("Title", title = "genes in a region")
gdPlot(list(genesplus, gaxis, genesminus, title), minbase, maxbase)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-7 15:57 , Processed in 0.024486 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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