targetsA2C(limma)
targetsA2C()所属R语言包:limma
Convert Two-Color Targets Dataframe from One-Row-Per-Array to One-Row-Per-Channel
从一排每个阵列转换双色目标Dataframe的一排每通道
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Convert a two-color targets dataframe with one row per array to one with one row per channel.
与每一个数组的行两色目标dataframe转换到一排,每通道之一。
用法----------Usage----------
targetsA2C(targets, channel.codes=c(1,2), channel.columns=list(Target=c("Cy3","Cy5")), grep=FALSE)
参数----------Arguments----------
参数:targets
data.frame with one row per array giving information about target samples associated covariates.
每一个阵列提供有关目标的样本相关的协变量的信息行的数据框。
参数:channel.codes
numeric or character vector of length 2 giving codes for the channels
渠道提供数字或字符的长度为2的向量代码
参数:channel.columns
named list of character vectors of length 2. Each entry gives a pair of names of columns in targets which contain channel-specific information. This pair of columns should be assembled into one column in the output.
名为长度为2的特征向量列表。每个条目给出一双targets其中包含通道的具体信息的列名。这双列应组装成一列输出。
参数:grep
logical, if TRUE then the channel column names are found by greping, i.e., the actual column names need only contain the names given by channel.columns as substrings
逻辑,如果TRUE然后由通道列名被发现的grepING,即实际的列名,只需要包含channel.columns为子串的名称
Details
详情----------Details----------
The targets dataframe holds information about the RNA samples used as targets in the microarray experiment. It is often read from a file using readTargets. This function is used to convert the dataframe from an array-orientated format with one row for each array and two columns for the two channels into a channel-orientated format with one row for each individual channel observations. In statistical terms, the first format treats the arrays as cases and treats the channels as repeated measurements. The second format treats the individual channel observations as cases. The second format may be more appropriate if the data is to be analyzed in terms of individual log-intensities.
targetsdataframe持有约在微阵列实验的目标所使用的RNA样品的信息。它往往是从使用readTargets的文件阅读。此功能用于从一个数组为导向的格式转换为每个阵列和一排,一排每个通道观测到一个通道导向格式的两个渠道的两列dataframe。在统计方面,第一个格式视为情况的阵列和处理重复测量的渠道。第二种格式将作为情况的个别通道的意见。如果数据是在个人log,强度分析,第二个格式可能更为合适。
值----------Value----------
data.frame with twice as many rows as targets. Any pair of columns named by channel.columns will now be one column.
targets两倍多行的数据框。任何对列名为channel.columns现在是一列。
作者(S)----------Author(s)----------
Gordon Smyth
参见----------See Also----------
targetsA2C is used by the coerce method from RGList for ExpressionSet in the convert package.
targetsA2Ccoerce方法RGListExpressionSet在转换包。
An overview of methods for single channel analysis in limma is given by 07.SingleChannel.
单通道分析方法在limma概述的07.SingleChannel。
举例----------Examples----------
targets <- data.frame(FileName=c("file1.gpr","file2.gpr"),Cy3=c("WT","KO"),Cy5=c("KO","WT"))
targetsA2C(targets)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|