示例#1
0
        /*
         * public Result(Precursors precursors, GraphML_List<Cluster> clusters, PeptideMatches peptides, PeptideMatches peptideSequences, ProteinGroupMatches proteins, Queries queries, DBOptions dbOptions)
         * {
         *  this.queries = queries;
         *  this.precursors = precursors;
         *  this.SetPrecursors(precursors);
         *  this.clusters = clusters;
         *  this.peptides = peptides;
         *  this.peptideSequences = peptideSequences;
         *  this.proteins = proteins;
         *  this.dbOptions = dbOptions;
         * }//*/

        public static Result Import(string filename)
        {
            GraphML g = new GraphML();

            return(g.ImportGeneric(filename));
        }
示例#2
0
        public void Save()
        {
            GraphML graph = new GraphML();

            graph.Export(dbOptions.OutputFolder + "State.GraphML", this);
        }