示例#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);
 }
示例#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;
 }
示例#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);
 }
示例#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);
 }
示例#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));
 }
示例#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);
 }
示例#7
0
 public Peptide(SkylineDataSchema dataSchema, IdentityPath identityPath)
     : base(dataSchema, identityPath)
 {
     _results = CachedValue.Create(dataSchema, MakeResults);
 }
示例#8
0
 public PrecursorResult(Precursor precursor, ResultFile file) : base(precursor, file)
 {
     _chromInfo = CachedValue.Create(DataSchema, () => GetResultFile().FindChromInfo(precursor.DocNode.Results));
 }
示例#9
0
 public Replicate(SkylineDataSchema dataSchema, int replicateIndex) : base(dataSchema)
 {
     ReplicateIndex   = replicateIndex;
     _chromatogramSet = CachedValue.Create(DataSchema, FindChromatogramSet);
 }
示例#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);
 }
示例#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);
 }
示例#12
0
 public TransitionResult(Transition transition, ResultFile resultFile) : base(transition, resultFile)
 {
     _chromInfo = CachedValue.Create(DataSchema, () => GetResultFile().FindChromInfo(transition.DocNode.Results));
 }