Package org.openbel.framework.api.KamTestUtil

Examples of org.openbel.framework.api.KamTestUtil.TestKamEdge


                if (objectNode == null) {
                    throw new IllegalStateException("Object node does not exist, error on: " + e);
                }

                String bel = e.subject + " " + e.rel + " " + e.object;
                kedges.put(bel, new TestKamEdge(kedges.size(), subjectNode,
                        e.rel, objectNode));
            }
        }

        return this;
View Full Code Here


                new TestKamNode(5, BIOLOGICAL_PROCESS, "bp(3)")
        };

        final TestKamEdge[] testKamEdges =
                new TestKamEdge[] {
                        new TestKamEdge(1, testKamNodes[0], HAS_COMPONENT,
                                testKamNodes[1]),
                        new TestKamEdge(2, testKamNodes[0], HAS_COMPONENT,
                                testKamNodes[2]),
                        new TestKamEdge(3, testKamNodes[1], INCREASES,
                                testKamNodes[2]),
                        new TestKamEdge(4, testKamNodes[2], ACTS_IN,
                                testKamNodes[3]),
                        new TestKamEdge(5, testKamNodes[3], DECREASES,
                                testKamNodes[4])
                };

        return KamTestUtil.createKam(testKAMInfo, testKamNodes, testKamEdges);
    }
View Full Code Here

                        new TestKamNode(13, GENE_ABUNDANCE, "geneAbundance(28)"),
                };

        final TestKamEdge[] testKamEdges =
                new TestKamEdge[] {
                        new TestKamEdge(1, testKamNodes[0], TRANSCRIBED_TO,
                                testKamNodes[1]),
                        new TestKamEdge(2, testKamNodes[1], TRANSLATED_TO,
                                testKamNodes[2]),
                        new TestKamEdge(3, testKamNodes[2], ACTS_IN,
                                testKamNodes[4]),
                        new TestKamEdge(4, testKamNodes[3], HAS_COMPONENT,
                                testKamNodes[2]),
                        new TestKamEdge(5, testKamNodes[3], HAS_COMPONENT,
                                testKamNodes[6]),
                        new TestKamEdge(6, testKamNodes[6], INCREASES,
                                testKamNodes[4]),
                        new TestKamEdge(7, testKamNodes[8], HAS_COMPONENT,
                                testKamNodes[6]),
                        new TestKamEdge(8, testKamNodes[7], INCLUDES,
                                testKamNodes[6]),
                        new TestKamEdge(9, testKamNodes[7], INCLUDES,
                                testKamNodes[5]),
                        new TestKamEdge(10, testKamNodes[7], INCREASES,
                                testKamNodes[9]),
                        new TestKamEdge(11, testKamNodes[8], HAS_COMPONENT,
                                testKamNodes[10]),
                        new TestKamEdge(12, testKamNodes[10], ACTS_IN,
                                testKamNodes[9]),
                        new TestKamEdge(13, testKamNodes[11], TRANSLATED_TO,
                                testKamNodes[10]),
                        new TestKamEdge(14, testKamNodes[12], TRANSCRIBED_TO,
                                testKamNodes[11]),
                };

        return KamTestUtil.createKam(testKAMInfo, testKamNodes, testKamEdges);
    }
View Full Code Here

                new TestKamNode(5, BIOLOGICAL_PROCESS, "bp(3)")
        };

        final TestKamEdge[] testKamEdges =
                new TestKamEdge[] {
                        new TestKamEdge(1, testKamNodes[0], HAS_COMPONENT,
                                testKamNodes[1]),
                        new TestKamEdge(2, testKamNodes[0], HAS_COMPONENT,
                                testKamNodes[2]),
                        new TestKamEdge(3, testKamNodes[1], INCREASES,
                                testKamNodes[2]),
                        new TestKamEdge(4, testKamNodes[2], ACTS_IN,
                                testKamNodes[3]),
                        new TestKamEdge(5, testKamNodes[3], DECREASES,
                                testKamNodes[4])
                };

        return KamTestUtil.createKam(testKAMInfo, testKamNodes, testKamEdges);
    }
View Full Code Here

TOP

Related Classes of org.openbel.framework.api.KamTestUtil.TestKamEdge

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.