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

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

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

                                        Converts an object of class 'constraintSet' into a text file
                                         转换成文本文件对象类的constraintSet“

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

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

This function converts an object of class constraintSet or a list of such objects into a text file.
此功能转换成对象类constraintSet或到一个文本文件等对象的列表。


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


  writeConFile(constraints, stringOutput=TRUE, outputFile="constraints.txt")



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

参数:constraints
object of class constraintSet or list of objects of class constraintSet which is to be converted in a text format  
类constraintSet类constraintSet它的对象列表的对象是在一个文本格式转换


参数:stringOutput
logical, whether the constraint should be written as a string. If FALSE, the constraint is written as a text file  
逻辑,是否应作为一个字符串写入约束。如果为FALSE,约束被写入一个文本文件


参数:outputFile
path and name of the constraint text file to be created
要创建约束文本文件的路径和名称


Details

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

Both the string and the text file can be used to submit constraints directly to the COSMO web application, which is an alternative to the GUI application. The text file has the advantage of being more easy to read and to load for future use.
字符串和文本文件都可以用来直接提交约束的COSMO Web应用程序,这是一个GUI应用程序的替代。文本文件有优势,更容易读取和加载以供将来使用。


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

NULL A single text file is created, by default in the working directory.
NULL,创建一个单独的文本文件,默认情况下,在工作目录。


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



Fabian Gallusser, <a href="mailto:fgallusser@berkeley.edu">fgallusser@berkeley.edu</a>




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

constraintSet, readConFile
constraintSet,readConFile


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


set <- makeConSet(4,c("B","P","V","B"),c(4,50,NA,4))
con1 <- makeBoundCon(1,2)
con2 <- makePalCon(1,4,0.5)
con3 <- makeSubMotifCon("TATA",0.6)
con4 <- makePosFreqCon("2","A",0.5)
con5 <- makePosFreqCon("All","G",0.4)
conSet <- addCon(set,list(con1,con2,con3,con4,con5),c(2,NA,NA,1,3))
conString <- writeConFile(conSet)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-12 17:42 , Processed in 0.023256 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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