weights-methods(procoil)
weights-methods()所属R语言包:procoil
Retrieve pattern weights from a CCModel object
检索模式重量从CCModel对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Function for retrieving the pattern weights from a
模式的权重,从检索功能
用法----------Usage----------
## S4 method for signature 'CCModel'
weights(object)
参数----------Arguments----------
参数:object
The model to be considered; can either be one of the models included in the package (PrOCoilModel and PrOCoilModelBA) or any other model loaded or created by the user. For a detailed explanation of the two default models, see CCModel.
要考虑的模型可以是包中包含的车型之一(PrOCoilModel和PrOCoilModelBA)或任何其他模型加载或由用户创建的。如需详细解释了两个默认的模型,看到CCModel。
Details
详情----------Details----------
The function weights provides an accessor function for retrieving the pattern weights from a CCModel object without the need to directly access the weights slot.
功能weights提供存取函数为检索CCModel对象的模式,而不需要直接访问weights插槽权重。
值----------Value----------
weights returns a list of pattern weights.
weights返回一个列表模式砝码。
作者(S)----------Author(s)----------
Ulrich Bodenhofer <a href="mailto:bodenhofer@bioinf.jku.at">bodenhofer@bioinf.jku.at</a>
参考文献----------References----------
Hochreiter, S. (2011) Complex networks govern coiled coil oligomerization - predicting and profiling by means of a machine learning approach. Mol. Cell. Proteomics.
参见----------See Also----------
procoil, CCModel,
procoil,CCModel
举例----------Examples----------
## show weight of pattern "N..La"[#显示模式。香格里拉“N”的重量。]
weights(PrOCoilModel)[["N..La"]]
## show the 10 patterns that are most indicative for trimers[#显示10个图案,三聚体的指示。]
## (as the weights are sorted in descending order in PrOCoilModel)[#(重量在PrOCoilModel降序排列排序)]
weights(PrOCoilModel)[1:10]
## show the 10 patterns that are most indicative for dimers[#显示10个图案,最二聚体的指示]
## (as the weights are sorted in descending order in PrOCoilModel)[#(重量在PrOCoilModel降序排列排序)]
nW <- length(weights(PrOCoilModel))
weights(PrOCoilModel)[nWnW - 9)]
## show weight of pattern "N..La"[#显示模式。香格里拉“N”的重量。]
weights(PrOCoilModelBA)[["N..La"]]
## show the 10 patterns that are most indicative for trimers[#显示10个图案,三聚体的指示。]
## (as the weights are sorted in descending order in PrOCoilModelBA)[#(为权重排序降序在PrOCoilModelBA秩序的)]
weights(PrOCoilModelBA)[1:10]
## show the 10 patterns that are most indicative for dimers[#显示10个图案,最二聚体的指示]
## (as the weights are sorted in descending order in PrOCoilModelBA)[#(为权重排序降序在PrOCoilModelBA秩序的)]
nW <- length(weights(PrOCoilModelBA))
weights(PrOCoilModelBA)[nWnW - 9)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|