Beispiel #1
0
 public Precursor(SkylineDataSchema dataSchema, IdentityPath identityPath) : base(dataSchema, identityPath)
 {
     _peptide     = new Lazy <Peptide>(() => new Peptide(DataSchema, IdentityPath.Parent));
     _transitions = CachedValue.Create(dataSchema, () => DocNode.Children
                                       .Select(child => new Transition(DataSchema, new IdentityPath(IdentityPath, child.Id))).ToArray());
     _results = CachedValue.Create(dataSchema, MakeResults);
 }
Beispiel #2
0
 public ResultFile(Replicate replicate, ChromFileInfoId chromFileInfoId, int optStep) : base(replicate.DataSchema)
 {
     Replicate        = replicate;
     ChromFileInfoId  = chromFileInfoId;
     _chromFileInfo   = CachedValue.Create(DataSchema, () => Replicate.ChromatogramSet.GetFileInfo(ChromFileInfoId));
     OptimizationStep = optStep;
 }
Beispiel #3
0
 public Protein(SkylineDataSchema dataSchema, IdentityPath identityPath) : base(dataSchema, identityPath)
 {
     _peptides = CachedValue.Create(dataSchema, () => DocNode.Children
                                    .Select(node => new Peptide(DataSchema, new IdentityPath(IdentityPath, node.Id))).ToArray());
     _results           = CachedValue.Create(dataSchema, MakeProteinResults);
     _proteinAbundances = CachedValue.Create(dataSchema, CalculateProteinAbundances);
 }
Beispiel #4
0
 public Peptide(SkylineDataSchema dataSchema, IdentityPath identityPath)
     : base(dataSchema, identityPath)
 {
     _calibrationCurveFitter = CachedValue.Create(dataSchema,
                                                  () => new CalibrationCurveFitter(GetPeptideQuantifier(), SrmDocument.Settings));
     _precursors = CachedValue.Create(dataSchema, () => DocNode.Children.Select(child => new Precursor(DataSchema, new IdentityPath(IdentityPath, child.Id))).ToArray());
     _results    = CachedValue.Create(dataSchema, MakeResults);
 }
Beispiel #5
0
 public TransitionResult(Transition transition, ResultFile resultFile) : base(transition, resultFile)
 {
     _chromInfo    = CachedValue.Create(DataSchema, () => GetResultFile().FindChromInfo(transition.DocNode.Results));
     _chromatogram = CachedValue.Create(DataSchema,
                                        () => new Chromatogram(new ChromatogramGroup(PrecursorResult), Transition));
 }
Beispiel #6
0
 public PeptideResult(Peptide peptide, ResultFile file) : base(peptide, file)
 {
     _chromInfo              = CachedValue.Create(DataSchema, () => ResultFile.FindChromInfo(peptide.DocNode.Results));
     _quantificationResult   = CachedValue.Create(DataSchema, GetQuantification);
     _calibrationCurveFitter = CachedValue.Create(DataSchema, GetCalibrationCurveFitter);
 }
Beispiel #7
0
 public Peptide(SkylineDataSchema dataSchema, IdentityPath identityPath)
     : base(dataSchema, identityPath)
 {
     _results = CachedValue.Create(dataSchema, MakeResults);
 }
Beispiel #8
0
 public PrecursorResult(Precursor precursor, ResultFile file) : base(precursor, file)
 {
     _chromInfo = CachedValue.Create(DataSchema, () => GetResultFile().FindChromInfo(precursor.DocNode.Results));
 }
Beispiel #9
0
 public Replicate(SkylineDataSchema dataSchema, int replicateIndex) : base(dataSchema)
 {
     ReplicateIndex   = replicateIndex;
     _chromatogramSet = CachedValue.Create(DataSchema, FindChromatogramSet);
 }
Beispiel #10
0
 public Transition(SkylineDataSchema dataSchema, IdentityPath identityPath) : base(dataSchema, identityPath)
 {
     _precursor = new Lazy <Precursor>(() => new Precursor(DataSchema, IdentityPath.Parent));
     _results   = CachedValue.Create(DataSchema, MakeResults);
 }
Beispiel #11
0
 public Precursor(SkylineDataSchema dataSchema, IdentityPath identityPath) : base(dataSchema, identityPath)
 {
     _peptide     = new Lazy <Peptide>(() => new Peptide(DataSchema, IdentityPath.Parent));
     _transitions = new Lazy <Transitions>(() => new Transitions(this));
     _results     = CachedValue.Create(DataSchema, MakeResults);
 }
 public TransitionResult(Transition transition, ResultFile resultFile) : base(transition, resultFile)
 {
     _chromInfo = CachedValue.Create(DataSchema, () => GetResultFile().FindChromInfo(transition.DocNode.Results));
 }