/* * 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)); }
public void Save() { GraphML graph = new GraphML(); graph.Export(dbOptions.OutputFolder + "State.GraphML", this); }