99 std::vector<TransformationModel::DataPoints>
fit_data_;
Stores a set of features, together with a 2D tree for fast search.
Definition: KDTreeFeatureMaps.h:50
An efficient reference-free feature map alignment algorithm for unlabeled data.
Definition: MapAlignmentAlgorithmKD.h:62
void transform(KDTreeFeatureMaps &kd_data) const
Transform RTs for kd_data.
double mz_tol_
m/z tolerance
Definition: MapAlignmentAlgorithmKD.h:114
void filterCCs_(const KDTreeFeatureMaps &kd_data, const std::map< Size, std::vector< Size > > &ccs, std::map< Size, std::vector< Size > > &filtered_ccs) const
Filter connected components (return conflict-free CCs of sufficiently large size and small diameter)
Param param_
Parameters.
Definition: MapAlignmentAlgorithmKD.h:105
void fitLOWESS()
Fit LOWESS to fit_data_, store final models in transformations_.
void addRTFitData(const KDTreeFeatureMaps &kd_data)
Compute data points needed for RT transformation in the current kd_data, add to fit_data_.
virtual void updateMembers_()
double rt_tol_secs_
RT tolerance.
Definition: MapAlignmentAlgorithmKD.h:111
MapAlignmentAlgorithmKD(Size num_maps, const Param ¶m)
Constructor.
std::vector< TransformationModel::DataPoints > fit_data_
RT data for fitting the LOWESS.
Definition: MapAlignmentAlgorithmKD.h:99
bool mz_ppm_
m/z unit ppm?
Definition: MapAlignmentAlgorithmKD.h:117
void getCCs_(const KDTreeFeatureMaps &kd_data, std::map< Size, std::vector< Size > > &result) const
Return connected components.
std::vector< TransformationModelLowess * > transformations_
LOWESS transformations.
Definition: MapAlignmentAlgorithmKD.h:102
double max_pairwise_log_fc_
Maximum absolute log10 fold change threshold between compatible features.
Definition: MapAlignmentAlgorithmKD.h:108
Size computeCCs_(const KDTreeFeatureMaps &kd_data, std::vector< Size > &cc_index) const
Compute connected components, store CC indices in member cc_index. Return number of CCs.
virtual ~MapAlignmentAlgorithmKD()
Default destructor.
MapAlignmentAlgorithmKD()
Default constructor is not supposed to be used.
Management and storage of parameters / INI files.
Definition: Param.h:70
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47