configure(cellHTS2)
configure()所属R语言包:cellHTS2
Configures the plates and plate result files
配置板和板结果文件
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Annotate the plates and the plate result files of a cellHTS object.
注释cellHTS对象的板和板结果文件。
用法----------Usage----------
## S4 method for signature 'cellHTS'
configure(object, descripFile, confFile, logFile,
path, descFunArgs=NULL, confFunArgs=NULL, logFunArgs=NULL)
参数----------Arguments----------
参数:object
a cellHTS object.
cellHTS对象。
参数:descripFile
the name of the screen description file (see details). This argument is just passed on to the readLines function, so any of the valid argument types for readLines are valid here, too. Alternatively this can be a function. See details.
屏幕描述文件的名称(见详情)。这种说法只是通过readLines功能,所以任何有效的参数类型为readLines是有效的,在这里,太。另外,这可以是一个函数。查看详情。
参数:confFile
the name of the configuration file (see details). This argument is just passed on to the read.table function, so any of the valid argument types for read.table are valid here, too. Must contain one row for each well and each batch. Alternatively this can be a function. See details.
配置文件的名称(见详情)。这种说法只是通过read.table功能,所以任何有效的参数类型为read.table是有效的,在这里,太。每口井和每批都必须包含一个行。另外,这可以是一个函数。查看详情。
参数:logFile
optional; the name of the screen log file (see details). This argument is just passed on to the read.table function, so any of the valid argument types for read.table are valid here, too. Alternatively this can be a function. See details.
可选;屏幕log文件的名称(见详情)。这种说法只是通过read.table功能,所以任何有效的参数类型为read.table是有效的,在这里,太。另外,这可以是一个函数。查看详情。
参数:path
optional; a character of length one indicating the path in which to find the configuration files. It can be useful when the files are located in the same directory, and may be omitted otherwise.
可选;一个字符的长度显示在其中找到配置文件的路径之一。文件位于同一目录时,它可以是有用的,否则可能会被省略。
参数:descFunArgs, confFunArgs, logFunArgs
optional; lists of additional arguments that can be passed on if one or more of descripFile, confFile or logFile are functions rather than file names. See details.
可选的;可以通过额外的参数列表,如果一个或多个descripFile,confFile或logFile而不是文件名的功能。查看详情。
Details
详情----------Details----------
The configuration has three components:
配置有三个组成部分:
confFile: This file specifies where the controls are. This file is expected to be a tab-delimited file with two first header rows giving the total number of wells and plates in the screen. The next rows should be in the form of a spreadsheet table with at least three columns named Plate, Well and Content. Columns Plate and Well are allowed to contain regular expressions. Data from wells that are configured as empty will be ignored and are set to NA in the data slot xraw. For an example, and for more details, please read the accompanying vignette.
CONFFILE:这个文件指定控件的位置。预计这个文件是一个井,并在屏幕板总数两个第一头行的制表符分隔的文件。下一行应该是在一个电子表格的形式,至少有三个列名为Plate,Well和Content。列Plate和Well允许包含正则表达式。从配置为空井的数据将被忽略并设置为数据槽NAxraw。举一个例子,更多详情,请阅读所附的小插曲。
logFile: This optional file allows to flag certain measurements as invalid. It is expected to be a tab-delimited file with at least three columns, and column names Plate, Well, and Flag. If there are multiple samples (replicates or conditions), a column called Sample should also be given. If there are multiple channels, a column called Channel must be given. Further columns are allowed.
log:这个可选的文件,允许某些测量标记为无效。预计是制表符分隔的文件,至少有三列,列名Plate,Well,Flag。如果有多个样品(复制或条件),列称为Sample也应给予。如果有多种渠道,必须给予名为Channel的列。进一步列是允许的。
descripFile: The screen description file contains general information about the screen.
descripFile:屏幕描述文件包含有关屏幕的一般信息。
Alternatively, any of the three arguments can also be a user-defined function returning data frames similar to those produced by read.table from the respective files. If confFile is a function, it has to return a list, where the first list item is an integer vector of length 2 giving the total number of plates and wells, and the second list item is the data.frame of the actual plate configuration. Additional parameters can be passed on to these functions via the descFunArgs, confFunArgs and logFunArgs arguments. This design allows for instance to import the necessary information directly from a data base rather than using flat files.
另外,任何三个参数也可以是一个用户定义的函数返回的数据框类似read.table从各自的文件制作的。如果confFile是一个函数,它返回一个列表,在第一个列表项是一个长度为整数向量2板和水井总数,第二个列表项是data.frame实际板配置。 descFunArgs,confFunArgs和logFunArgs参数通过这些功能可以通过附加参数。这种设计允许例如必要的信息,直接从数据的基础上,而不是使用平面文件导入。
值----------Value----------
An S4 object of class cellHTS, which is obtained by copying object and updating the following slots:
类cellHTS复制object和更新下面的插槽,这是获得S4对象:
参数:plateConf
a data frame containing what was read from input file confFile (except the first two header rows).
从输入文件confFile(除前两个标题行)读取一个数据框包含什么。
参数:screenLog
a data frame containing what was read from input file logFile.
从输入文件logFile读取数据框包含什么。
参数:screenDesc
object of class character containing what was read from input file descripFile.
character是从读取输入文件descripFile类的对象。
参数:state
the processing status of the cellHTS object is updated in to state["configured"]=TRUE.
更新cellHTS的state["configured"]=TRUE对象的处理状态。
参数:featureData
the column controlStatus is updated taking into account the well annotation given by the plate configuration file.
列controlStatus更新,考虑到板配置文件以及注释。
参数:experimentData
an object of class MIAME containing descriptions of the experiment, constructed from the screen description file.
类MIAME包含描述实验构建从屏幕上的说明文件,对象。
作者(S)----------Author(s)----------
Wolfgang Huber <a href="mailto:huber@ebi.ac.uk">huber@ebi.ac.uk</a>, Ligia Bras <a href="mailto:ligia@ebi.ac.uk">ligia@ebi.ac.uk</a>
参考文献----------References----------
参见----------See Also----------
readPlateList templateDescriptionFile
readPlateListtemplateDescriptionFile
举例----------Examples----------
datadir <- system.file("KcViabSmall", package = "cellHTS2")
x <- readPlateList("Platelist.txt", name="KcViabSmall", path=datadir)
x <- configure(x, "Description.txt", "Plateconf.txt", "Screenlog.txt", path=datadir)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|