Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
i2MassChroQ
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
PAPPSO
i2MassChroQ
Commits
c1bb0995
Commit
c1bb0995
authored
8 years ago
by
Olivier Langella
Browse files
Options
Downloads
Patches
Plain Diff
WIP : broken
parent
e44804ad
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/core/project.cpp
+2
-14
2 additions, 14 deletions
src/core/project.cpp
src/core/project.h
+14
-11
14 additions, 11 deletions
src/core/project.h
with
16 additions
and
25 deletions
src/core/project.cpp
+
2
−
14
View file @
c1bb0995
...
...
@@ -39,24 +39,12 @@ Project::~Project()
}
}
void
Project
::
updateAutomaticFilters
()
{
}
ProjectSp
Project
::
makeProjectSp
()
const
{
return
std
::
make_shared
<
Project
>
(
*
this
);
}
void
Project
::
setFilterPeptideEvalue
(
pappso
::
pappso_double
evalue
)
{
_filter_minimum_peptide_evalue
=
evalue
;
}
void
Project
::
setFilterProteinEvalue
(
pappso
::
pappso_double
evalue
)
{
_filter_minimum_protein_evalue
=
evalue
;
}
void
Project
::
setFilterMinimumPeptidePerMatch
(
unsigned
int
number
)
{
_filter_minimum_peptide_per_match
=
number
;
}
void
Project
::
setFilterCrossSamplePeptideNumber
(
bool
cross
)
{
_filter_is_cross_sample_peptide_number
=
cross
;
}
IdentificationGroup
*
Project
::
newIdentificationGroup
()
{
_p_current_identification_group
=
new
IdentificationGroup
(
this
);
_identification_goup_list
.
push_back
(
_p_current_identification_group
);
...
...
This diff is collapsed.
Click to expand it.
src/core/project.h
+
14
−
11
View file @
c1bb0995
...
...
@@ -25,7 +25,7 @@
#include
<memory>
#include
"identificationgroup.h"
#include
<pappsomspp/type
s.h
>
#include
"automaticfilterparameter
s.h
"
class
Project
;
typedef
std
::
shared_ptr
<
Project
>
ProjectSp
;
...
...
@@ -33,8 +33,9 @@ typedef std::shared_ptr<Project> ProjectSp;
class
PeptideMatch
;
class
ProteinMatch
;
class
Project
class
Project
:
public
QObject
{
Q_OBJECT
public:
Project
();
~
Project
();
...
...
@@ -49,20 +50,22 @@ public:
/** @brief is it valid regarding threshold and project rules
*/
bool
isValid
(
ProteinMatch
*
p_protein_match
)
const
;
/** @brief validate or invalidate peptides and proteins based automatic filters and manual checks
* */
void
updateAutomaticFilters
(
const
AutomaticFilterParameters
&
automatic_filter_parameters
);
void
setFilterPeptideEvalue
(
pappso
::
pappso_double
evalue
);
void
setFilterProteinEvalue
(
pappso
::
pappso_double
evalue
);
void
setFilterMinimumPeptidePerMatch
(
unsigned
int
number
);
void
setFilterCrossSamplePeptideNumber
(
bool
cross
);
signals:
/** @brief signal when automatic filters are applied and project is ready
* */
void
projectReady
();
private
:
std
::
vector
<
IdentificationGroup
*>
_identification_goup_list
;
IdentificationGroup
*
_p_current_identification_group
=
nullptr
;
pappso
::
pappso_double
_filter_minimum_peptide_evalue
=
1
;
pappso
::
pappso_double
_filter_minimum_protein_evalue
=
1
;
unsigned
int
_filter_minimum_peptide_per_match
=
1
;
bool
_filter_is_cross_sample_peptide_number
=
false
;
AutomaticFilterParameters
_automatic_filter_parameters
;
};
#endif // PROJECT_H
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment