expandGates(CellNOptR)
expandGates()所属R语言包:CellNOptR
Expand the gates of a model
展开模型的大门
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function takes in a model and splits all AND gates into ORs. In addition, wherever there are more than one and up to 5 reactions coming into one node, it creates all possible ANDs combinations of them, but considering only ANDs with 2 and 3 inputs
此功能需要在一个模型,并与门分割成胜算。此外,只要有一个以上的高达5反应到一个节点,它会创建所有这些可能与门的组合,但考虑到只有2和3输入与门
用法----------Usage----------
expandGates(Model)
参数----------Arguments----------
参数:Model
a model structure
模型结构
Details
详情----------Details----------
This function returns a model with additional fields that help keep track of the processing done on the network. I would advice not to overwrite on the initial model but rather to assign the result of this function to a variable with a different name.
此函数返回一个模型,帮助跟踪在网络上做了处理的其他领域。我会建议不要覆盖在初始模型,而是一个具有不同名称的变量分配这个函数的结果。
值----------Value----------
returns a Model, with additional fields:
返回一个模型,额外的字段:
参数:SplitANDs
list that contains a named element for each AND reac that has been split, and each element contains a vector with the names of the of the reactions that result from the split if nothing was split, this element has the default value $initialReac [1] "split1" "split2"
列表,其中包含命名为每个反应已经分裂的元素,每个元素包含一个矢量的名字的反应,如果没有被分裂,分裂的结果,该元素的默认值$ initialReac [1] “split1”,“split2”
参数:newANDs
list that contains an element for each new '&' gate, named by the name of this new and reac, and containing a vector of the names of the reactions from which it was created (contains all the reacs in that pool, not the particular ones, this could be improved)
列表中包含的每一个新的和门的名字命名这个新的和反应,并含有一个名称从创建它的反应向量(元素包含在该池中所有reacs,而不是特别的,这可以改善)
注意----------Note----------
This function could be simplified in the future.
在未来,这个功能可以简化。
作者(S)----------Author(s)----------
C.Terfve
举例----------Examples----------
#load data[数据加载]
data(CNOlistToy,package="CellNOptR")
data(ToyModel,package="CellNOptR")
#pre-process the model[预过程模型]
indicesToy<-indexFinder(CNOlistToy,ToyModel,verbose=TRUE)
ToyNCNOindices<-findNONC(ToyModel,indicesToy,verbose=TRUE)
ToyNCNOcut<-cutNONC(ToyModel,ToyNCNOindices)
indicesToyNCNOcut<-indexFinder(CNOlistToy,ToyNCNOcut)
ToyNCNOcutComp<-compressModel(ToyNCNOcut,indicesToyNCNOcut)
indicesToyNCNOcutComp<-indexFinder(CNOlistToy,ToyNCNOcutComp)
ToyNCNOcutCompExp<-expandGates(ToyNCNOcutComp)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|