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

R语言 Biobase包 read.AnnotatedDataFrame()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 13:24:06 | 显示全部楼层 |阅读模式
read.AnnotatedDataFrame(Biobase)
read.AnnotatedDataFrame()所属R语言包:Biobase

                                        Read 'AnnotatedDataFrame'
                                         读“AnnotatedDataFrame

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

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

Create an instance of class AnnotatedDataFrame by reading a file.
通过阅读文件创建实例类AnnotatedDataFrame的。


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


read.AnnotatedDataFrame(filename, path,
     sep = "\t", header = TRUE, quote = "", stringsAsFactors = FALSE,
     row.names = 1L,
     varMetadata.char="#",
     widget = getOption("BioC")$Base$use.widgets,
     sampleNames = character(0), ...)



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

参数:filename
file or connection from which to read.
从中读取文件或连接。


参数:path
(optional) directory in which to find filename.
(可选)目录中找到filename。


参数:row.names
this argument gets passed on to read.table and will be used for the row names of the phenoData slot.
这个参数被传递到read.table将用于行名称的phenoData插槽。


参数:varMetadata.char
lines beginning with this character are used for the varMetadata slot. See examples.
这个字符开头的行被用于varMetadata插槽。看到的例子。


参数:sep, header, quote, stringsAsFactors, ...
further arguments that get passed on to read.table.
获得通过的read.table进一步的论据。


参数:widget
logical. Currently this is not implemented, and setting this option to TRUE will result in an error. In a precursor of this function, read.phenoData, this option could be used to open an interactive GUI widget for entering the data.
逻辑。目前,这是没有实现,将此选项设置为TRUE将导致错误。在此功能的前兆,read.phenoData,这个选项可以用来打开输入数据的交互式GUI部件。


参数:sampleNames
optional argument that could be used in conjunction with widget; do not use.
可选参数,可以配合使用widget,不要使用。


Details

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

The function read.table is used to read pData. The argument varMetadata.char is passed on to that function as its argument comment.char. Lines beginning with  varMetadata.char are expected to contain further information on the column headers of pData. The format is of the form: # variable: textual explanation of the     variable, units, measurement method, etc. (assuming that # is the value of varMetadata.char). See also examples.
功能read.table用于读取pData。参数varMetadata.char被传递到该函数作为参数comment.char。以varMetadata.char开始的行预期的进一步信息包含列标题pData。该格式的形式是:# variable: textual explanation of the     variable, units, measurement method, etc.(假设,#是varMetadata.char值)。也见的例子。


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

An instance of class AnnotatedDataFrame
一个实例的类AnnotatedDataFrame


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


Martin Morgan <mtmorgan@fhcrc.org> and Wolfgang Huber,
based on <code>read.phenoData</code> by Rafael A. Irizarry.



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

AnnotatedDataFrame for additional methods,
AnnotatedDataFrame额外的方法,


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



exampleFile = system.file("extdata", "pData.txt", package="Biobase")

adf <- read.AnnotatedDataFrame(exampleFile)
adf
head(pData(adf))
head(noquote(readLines(exampleFile)), 11)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-3 16:51 , Processed in 0.021732 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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