Esempio n. 1
0
        public static FeatureClusterParameters <UMCLight> ConvertToOmics(LcmsClusteringOptions options)
        {
            var parameters = new FeatureClusterParameters <UMCLight>
            {
                Tolerances = options.InstrumentTolerances,
                OnlyClusterSameChargeStates = (options.ShouldSeparateCharge == false),
                CentroidRepresentation      = options.ClusterCentroidRepresentation
            };

            parameters.DistanceFunction = DistanceFactory <UMCLight> .CreateDistanceFunction(options.DistanceFunction);

            return(parameters);
        }
Esempio n. 2
0
 /// <summary>
 /// Default Constructor.  This sets the parameters and tolerances to their default values.
 /// </summary>
 public UMCSingleLinkageClusterer()
 {
     Parameters     = new FeatureClusterParameters <T>();
     m_massComparer = FeatureLight.MassComparison;
 }
Esempio n. 3
0
 /// <summary>
 /// Default Constructor.  This sets the parameters and tolerances to their default values.
 /// </summary>
 public UMCAverageLinkageClusterer()
 {
     ShouldTestClustersWithinTolerance = true;
     Parameters = new FeatureClusterParameters <T>();
 }
Esempio n. 4
0
 /// <summary>
 /// Default Constructor.  This sets the parameters and tolerances to their default values.
 /// </summary>
 public UMCCentroidClusterer()
 {
     Parameters = new FeatureClusterParameters <T>();
 }