computePFDData-methods(flowPlots)
computePFDData-methods()所属R语言包:flowPlots
Method computePFDData from Class "StackedData"
方法computePFDData班“StackedData”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function is a method of the StackedData class which computes the polyfunctional degree (pfd) data (usually recorded as percentages of reactive cells) which can be stored in the pfdData slot of a StackedData object. PFD=1 refers to cells which are producing only one marker. PFD=2 refers to cells which are producing exactly two markers. Similarly, up to PFD=n, where n is the number of markers. This method relies on the marker data slot being assigned in the StackedData object.
此功能的StackedData类的方法,计算的多官能度(PFD)在一个StackedData对象pfdData插槽可存储的数据(通常是记录活性单元的百分比)。 PFD的= 1是指生产只有一个标记的单元。 PFD的= 2是指生产整整两个标记的单元。同样的,最多的PFD = n,其中n是标记的数量。这种方法依赖于标记数据被在StackedData对象分配的插槽。
用法----------Usage----------
computePFDData(object, byVarNames, idVarName, percentVarName, groupVarName)
参数----------Arguments----------
参数:object
an object of the StackedData class
的StackedData类的对象
参数:byVarNames
character; the names of the variables specifying the subsets of interest in the data
字符;指定感兴趣的数据子集的变量的名称
参数:idVarName
character; the name of the id variable in the data
性格中的数据的id变量的名称
参数:percentVarName
character; the name of the variable holding the percentages to be summed when computing the pfd summary data
字符;持有的百分比计算的PFD汇总数据时,要总结的变量的名称
参数:groupVarName
character; the name of the variable specifying the group assignment in the data
字符;变量名中指定的数据组分配
值----------Value----------
data frame of pfd data
PFD数据的数据框
方法----------Methods----------
signature(object = "StackedData", byVarNames = "character", idVarName = "character", percentVarName = "character", groupVarName = "character") Computes the pfd data.
signature(object = "StackedData", byVarNames = "character", idVarName = "character", percentVarName = "character", groupVarName = "character")计算PFD数据。
作者(S)----------Author(s)----------
N. Hawkins, Fred Hutchinson Cancer Research Center, Seattle, WA
参见----------See Also----------
StackedData, pfdData
StackedData,pfdData
举例----------Examples----------
# Load stacked data[载入堆叠数据]
data(adultsNeonates)
# Create a stacked data object[创建一个堆叠的数据对象]
stackedDataObject = new("StackedData", stackedData=adultsNeonates)
# Compute the marker data and set the marker data slot[计算标记的数据和设置标记的数据槽]
markerNames = c("TNFa","IL6","IL12","IFNa")
markers = computeMarkers(markerNames,includeAllNegativeRow=TRUE)
markers(stackedDataObject) = markers
# Compute the pfd data and set the pfd data slot[计算PFD的数据和设置PFD数据槽]
byVarNames = c("stim", "concGroup", "cell")
pfdData = computePFDData(stackedDataObject, byVarNames, "id", "percentAll", "group")
pfdData(stackedDataObject) = pfdData
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|