ProteoWizard
pwiz
data
proteome
Diff.hpp
Go to the documentation of this file.
1
//
2
// $Id$
3
//
4
//
5
// Original author: Darren Kessner <darren@proteowizard.org>
6
//
7
// Copyright 2007 Spielberg Family Center for Applied Proteomics
8
// Cedars-Sinai Medical Center, Los Angeles, California 90048
9
//
10
// Licensed under the Apache License, Version 2.0 (the "License");
11
// you may not use this file except in compliance with the License.
12
// You may obtain a copy of the License at
13
//
14
// http://www.apache.org/licenses/LICENSE-2.0
15
//
16
// Unless required by applicable law or agreed to in writing, software
17
// distributed under the License is distributed on an "AS IS" BASIS,
18
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
// See the License for the specific language governing permissions and
20
// limitations under the License.
21
//
22
23
24
#ifndef _PROTEOME_DIFF_HPP_
25
#define _PROTEOME_DIFF_HPP_
26
27
28
#include "
pwiz/utility/misc/Export.hpp
"
29
#include "
ProteomeData.hpp
"
30
31
32
namespace
pwiz
{
namespace
proteome
{
struct
DiffConfig; } }
33
34
35
namespace
pwiz
{
36
namespace
data {
37
38
39
using namespace
proteome
;
40
41
42
namespace
diff_impl {
43
44
PWIZ_API_DECL
45
void
diff
(
const
ProteinList
& a,
46
const
ProteinList
& b,
47
ProteinListSimple
& a_b,
48
ProteinListSimple
& b_a,
49
const
DiffConfig
& config);
50
51
PWIZ_API_DECL
52
void
diff
(
const
ProteomeData
& a,
53
const
ProteomeData
& b,
54
ProteomeData
& a_b,
55
ProteomeData
& b_a,
56
const
DiffConfig
& config);
57
58
}
// namespace diff_impl
59
}
// namespace data
60
}
// namespace pwiz
61
62
63
// this include must come after the above declarations or GCC won't see them
64
#include "
pwiz/data/common/diff_std.hpp
"
65
66
67
namespace
pwiz
{
68
namespace
proteome
{
69
70
71
/// configuration struct for diffs
72
struct
PWIZ_API_DECL
DiffConfig
:
public
pwiz::data::BaseDiffConfig
73
{
74
bool
ignoreMetadata
;
75
76
DiffConfig
()
77
: BaseDiffConfig(1e-6),
78
ignoreMetadata(false)
79
{}
80
};
81
82
83
PWIZ_API_DECL
std::ostream&
operator<<
(std::ostream& os,
const
data::Diff<ProteomeData, DiffConfig>
&
diff
);
84
85
86
}
// namespace proteome
87
}
// namespace pwiz
88
89
90
#endif // _PROTEOME_DIFF_HPP_
pwiz::proteome::operator<<
PWIZ_API_DECL std::ostream & operator<<(std::ostream &os, const data::Diff< ProteomeData, DiffConfig > &diff)
pwiz::proteome::DiffConfig::ignoreMetadata
bool ignoreMetadata
Definition:
Diff.hpp:74
pwiz::data::BaseDiffConfig
Definition:
diff_std.hpp:42
pwiz::proteome::ProteinListSimple
Definition:
ProteomeData.hpp:77
pwiz::identdata::DiffConfig
Definition:
Diff.hpp:396
pwiz
Definition:
ChromatogramList_Filter.hpp:36
pwiz::proteome::DiffConfig
configuration struct for diffs
Definition:
Diff.hpp:73
pwiz::proteome
Definition:
AminoAcid.hpp:35
PWIZ_API_DECL
#define PWIZ_API_DECL
Definition:
Export.hpp:32
Export.hpp
pwiz::data::Diff
Calculate diffs of objects in a ProteoWizard data model hierarchy.
Definition:
diff_std.hpp:143
pwiz::proteome::ProteomeData
Definition:
ProteomeData.hpp:89
diff
void diff(const string &filename1, const string &filename2)
Definition:
FrequencyDataTest.cpp:40
ProteomeData.hpp
pwiz::proteome::DiffConfig::DiffConfig
DiffConfig()
Definition:
Diff.hpp:76
diff_std.hpp
pwiz::proteome::ProteinList
Definition:
ProteomeData.hpp:56
Generated by
1.8.18