本文整理了Java中uk.ac.ebi.intact.model.Interaction.addConfidence()
方法的一些代码示例,展示了Interaction.addConfidence()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Interaction.addConfidence()
方法的具体详情如下:
包路径:uk.ac.ebi.intact.model.Interaction
类名称:Interaction
方法名:addConfidence
暂无
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
/**
* This creates a stable (non-random) interaction
*/
public Interaction createDeterministicInteraction() {
Interaction interaction = createInteraction("fooprey-barbait",
createDeterministicProtein("A2", "barbait"),
createDeterministicProtein("A1", "fooprey"),
createDeterministicExperiment());
interaction.getAnnotations().add(createAnnotation("This is an annotation", CvTopic.COMMENT_MI_REF, CvTopic.COMMENT));
CvFeatureType featureType = createCvObject(CvFeatureType.class, CvFeatureType.EXPERIMENTAL_FEATURE_MI_REF, CvFeatureType.EXPERIMENTAL_FEATURE);
Feature feature = createFeature("feature1", featureType);
feature.setComponent(null);
Range range = createRange(1, 1, 5, 5);
feature.addRange(range);
interaction.getComponents().iterator().next().addBindingDomain(feature);
// interaction.getComponents().iterator().next().addComponentParameter(createDeterministicComponentParameter());
// interaction.addXref(createPrimaryReferenceXref( interaction , "testreference"));
interaction.addConfidence( createDeterministicConfidence());
interaction.addParameter( createDeterministicInteractionParameter() );
return interaction;
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
/**
* This creates a stable (non-random) interaction
*/
public Interaction createDeterministicInteraction() {
Interaction interaction = createInteraction("fooprey-barbait",
createDeterministicProtein("A2", "barbait"),
createDeterministicProtein("A1", "fooprey"),
createDeterministicExperiment());
interaction.getAnnotations().add(createAnnotation("This is an annotation", CvTopic.COMMENT_MI_REF, CvTopic.COMMENT));
CvFeatureType featureType = createCvObject(CvFeatureType.class, CvFeatureType.EXPERIMENTAL_FEATURE_MI_REF, CvFeatureType.EXPERIMENTAL_FEATURE);
Feature feature = createFeature("feature1", featureType);
feature.setComponent(null);
Range range = createRange(1, 1, 5, 5);
feature.addRange(range);
interaction.getComponents().iterator().next().addBindingDomain(feature);
// interaction.getComponents().iterator().next().addComponentParameter(createDeterministicComponentParameter());
// interaction.addXref(createPrimaryReferenceXref( interaction , "testreference"));
interaction.addConfidence( createDeterministicConfidence());
interaction.addParameter( createDeterministicInteractionParameter() );
return interaction;
}
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core
clone.addConfidence(clone(confidence));
代码示例来源:origin: uk.ac.ebi.intact.core/intact-core-readonly
clone.addConfidence(clone(confidence));
代码示例来源:origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters
Confidence confidence = confConverter.psiToIntact( psiConfidence );
interaction.addConfidence( confidence);
内容来源于网络,如有侵权,请联系作者删除!