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

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

[复制链接]
发表于 2012-2-25 23:13:20 | 显示全部楼层 |阅读模式
controlStatus(limma)
controlStatus()所属R语言包:limma

                                        Set Status of each Spot from List of Spot Types
                                         设置每个点的状态,从现货类型名单

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

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

Determine the type (or status) of each spot in the gene list.
确定基因列表中的每个点的类型(或状态)。


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


controlStatus(types, genes, spottypecol="SpotType", regexpcol, verbose=TRUE)



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

参数:types
dataframe containing spot type specifiers, usually input using readSpotTypes
dataframe点类型说明符,通常使用的输入readSpotTypes


参数:genes
dataframe containing the microarray gene list, or an RGList, MAList or MArrayList containing genes
dataframe含有基因芯片列表,或RGList,MAList或MArrayList含genes


参数:spottypecol
integer or name specifying column of types containing spot type names
types含当场类型名称的整数或名称指定列


参数:regexpcol
vector of integers or column names specifying columns of types containing regular expressions. Defaults to any column names in common between types and genes.
向量的整数或指定的正则表达式的类型列的列名。默认types和genes之间的共同列名。


参数:verbose
logical, if TRUE then progess on pattern matching is reported to the standard output channel
逻辑,如果TRUE然后在模式匹配陆侃据报道,标准输出通道


Details

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

This function constructs a vector of status codes by searching for patterns in the gene list. The data frame genes contains gene IDs and should have as many rows as there are spots on the microarrays. Such a data frame is often read using readGAL. The data frame types has as many rows as you want to distinguish types of spots in the gene list. This data frame should contain a column or columns, the regexpcol columns, which have the same names as columns in genes and which contain patterns to match in the gene list. Another column, the spottypecol, contains the names of the spot types. Any other columns are assumed to contain plotting parameters, such as colors or symbols, to be associated with the spot types.
此功能构建基因列表中寻找模式的状态码的向量。数据框genes包含基因标识,应该有作为,有许多芯片上的点行。经常阅读使用readGAL这样一个数据框。数据框types有许多行,只要你想区分类型的基因列表中的斑点。这个数据框应包含一列或多列,regexpcol列,其中有genes“,其中包含模式匹配的基因列表的列相同的名称。另一列,spottypecol,包含当场类型的名称。假定任何其他列包含绘图参数,如颜色或符号,要当场类型的关联。

The patterns in the regexpcol columns are simplified regular expressions. For example, AA* means any string starting with AA, *AA means any code ending with AA, AA means exactly these two letters, *AA* means any string containing AA, AA. means AA followed by exactly one other character and AA\. means exactly AA followed by a period and no other characters. Any other regular expressions are allowed but the codes ^ for beginning of string and $ for end of string should not be included.
regexpcol列模式,简化了正则表达式。例如,AA*意味着任何字符串AA,*AA是指以任何代码AA,AA的意思是这两个字母,*AA*开始的是指任何字符串,其中包含AA,AA.指AA随后由一个其他字符和AA\.意味着完全AA随后一个时期和任何其它字符。任何其他正则表达式允许的,但代码^字符串的开始和$字符串的结尾不应该被列入。

Note that the patterns are matched sequentially from first to last, so more general patterns should be included first. For example, it is often a good idea to include a default spot-type as the first line in types with pattern * for all regexpcol columns and default plotting parameters.
注意:按顺序从第一个到最后,模式匹配,让更多的一般模式应列入第一。例如,它往往是一个好主意,包括作为第一线的默认当场型types模式*所有的regexpcol列和默认绘图参数。


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

Character vector specifying the type (or status) of each spot on the array. Attributes contain plotting parameters associated with each spot type.
指定阵列上的每个点的类型(或状态)的特征向量。属性包含与每个点类型相关联的绘图参数。


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


Gordon Smyth



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

An overview of LIMMA functions for reading data is given in 03.ReadingData.
在03.ReadingData一个读取数据LIMMA功能的概述。


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


genes <- data.frame(ID=c("Control","Control","Control","Control","AA1","AA2","AA3","AA4"),
Name=c("Ratio 1","Ratio 2","House keeping 1","House keeping 2","Gene 1","Gene 2","Gene 3","Gene 4"))
types <- data.frame(SpotType=c("Gene","Ratio","Housekeeping"),ID=c("*","Control","Control"),Name=c("*","Ratio*","House keeping*"),col=c("black","red","blue"))
status <- controlStatus(types,genes)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-5 02:58 , Processed in 0.027755 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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