readExpressionSet(Biobase)
readExpressionSet()所属R语言包:Biobase
Read 'ExpressionSet'
读“ExpressionSet
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Create an instance of class ExpressionSet by reading data from files. "widget" functionality is not implemented for readExpressionSet.
从文件中读取数据创建一个类ExpressionSet实例。 “部件”功能不为readExpressionSet实施。
用法----------Usage----------
readExpressionSet(exprsFile,
phenoDataFile,
experimentDataFile,
notesFile,
path,
annotation,
## arguments to read.* methods
exprsArgs=list(sep=sep, header=header, row.names=row.names,
quote=quote, ...),
phenoDataArgs=list(sep=sep, header=header, row.names=row.names,
quote=quote, stringsAsFactors=stringsAsFactors, ...),
experimentDataArgs=list(sep=sep, header=header,
row.names=row.names, quote=quote,
stringsAsFactors=stringsAsFactors, ...),
sep = "\t", header = TRUE, quote = "", stringsAsFactors = FALSE,
row.names = 1L,
## widget
widget = getOption("BioC")$Base$use.widgets,
...)
参数----------Arguments----------
参数:exprsFile
(character) File or connection from which to read expression values. The file should contain a matrix with rows as features and columns as samples. read.table is called with this as its file argument and further arguments given by exprsArgs.
(字符)的文件或连接,从中读取表达式的值。该文件应包含与功能的行和列作为样本矩阵。 read.table这被称为其file参数,并给予进一步的论据exprsArgs。
参数:phenoDataFile
(character) File or connection from which to read phenotypic data. read.AnnotatedDataFrame is called with this as its file argument and further arguments given by phenoDataArgs.
(字符)的文件或从中读取的表型数据的连接。 read.AnnotatedDataFrame这被称为其file参数,并给予进一步的论据phenoDataArgs。
参数:experimentDataFile
(character) File or connection from which to read experiment data. read.MIAME is called with this as its file argument and further arguments given by experimentDataArgs.
(字符)的文件或从中读取实验数据的连接。 read.MIAME这被称为其file参数,并给予进一步的论据experimentDataArgs。
参数:notesFile
(character) File or connection from which to read notes; readLines is used to input the file.
(字符)的文件或连接阅读笔记; readLines用来输入文件。
参数:path
(optional) directory in which to find all the above files.
(可选)在其中找到所有上述文件的目录。
参数:annotation
(character) A single character string indicating the annotation associated with this ExpressionSet.
(字符)的单字符字符串,指示与此ExpressionSet关联的注解。
参数:exprsArgs
A list of arguments to be used with read.table when reading in the expression matrix.
read.table在表达矩阵读取时使用的参数列表。
参数:phenoDataArgs
A list of arguments to be used (with read.AnnotatedDataFrame) when reading the phenotypic data.
(read.AnnotatedDataFrame)用于读表型数据时的参数列表。
参数:experimentDataArgs
A list of arguments to be used (with read.MIAME) when reading the experiment data.
要使用(用read.MIAME)阅读实验数据时的参数列表。
参数:sep, header, quote, stringsAsFactors, row.names
arguments used by the read.table-like functions.
read.table类似的功能使用的参数。
参数:widget
A boolean value indicating whether widgets can be used. Widgets are NOT yet implemented for read.AnnotatedDataFrame.
一个布尔值指示是否可用于部件。 read.AnnotatedDataFrame部件尚未实现。
参数:...
Further arguments that can be passed on to the read.table-like functions.
read.table类似的功能,可以通过进一步的论据。
Details
详情----------Details----------
Expression values are read using the read.table function. Phenotypic data are read using the read.AnnotatedDataFrame function. Experiment data are read using the read.MIAME function. Notes are read using the readLines function. The return value must be a valid ExpressionSet. Only the exprsFile argument is required.
使用read.table函数表达式的值是只读。使用read.AnnotatedDataFrame函数表型数据读取。实验数据读取使用read.MIAME功能。票据使用readLines函数读取。返回值必须是一个有效的ExpressionSet。只有exprsFile参数是必需的。
值----------Value----------
An instance of the ExpressionSet class.
ExpressionSet类的一个实例。
作者(S)----------Author(s)----------
Martin Morgan <mtmorgan@fhcrc.org>
参见----------See Also----------
ExpressionSet for additional methods.
ExpressionSet的其他方法。
举例----------Examples----------
exprsFile = system.file("extdata", "exprsData.txt", package="Biobase")
phenoFile = system.file("extdata", "pData.txt", package="Biobase")
## Read ExpressionSet with appropriate parameters[#读取相应的参数ExpressionSet]
obj = readExpressionSet(exprsFile, phenoFile, sep = "\t", header=TRUE)
obj
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|