computePFDPartsData-methods(flowPlots)
computePFDPartsData-methods()所属R语言包:flowPlots
Method computePFDPartsData from Class "StackedData"
方法computePFDPartsData班“StackedData”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function is a method of the StackedData class which computes the pfdParts data which can be stored in the pfdPartsData slot of a StackedData object. This method relies on the marker data slot being assigned in the StackedData object.
此功能的方法计算,可以存储在一个StackedData对象pfdPartsData插槽pfdParts数据的StackedData类。这种方法依赖于标记数据被在StackedData对象分配的插槽。
用法----------Usage----------
computePFDPartsData(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----------
a list. Each element of the list is a data frame containing the component percents for a given degree of polyfunctionality (PFD), except for the max PFD since there is only one possible combination for the max PFD.
一个列表。列表中的每个元素是一个数据框包含了polyfunctionality(PFD)的程度组件%,最大的PFD,因为只有一个可能的组合的最大PFD的除外。
方法----------Methods----------
signature(object = "StackedData", byVarNames = "character", idVarName = "character", percentVarName = "character", groupVarName = "character") Compute the pfd parts 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, pfdPartsData
StackedData,pfdPartsData
举例----------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 parts data and set the pfd parts data slot[PFD部分计算数据和设置PFD部分数据槽]
byVarNames = c("stim", "concGroup", "cell")
pfdPartsData = computePFDPartsData(stackedDataObject, byVarNames, "id", "percentAll", "group")
pfdPartsData(stackedDataObject) = pfdPartsData
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|