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); }
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; }
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); }
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); }
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)); }
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); }
public Peptide(SkylineDataSchema dataSchema, IdentityPath identityPath) : base(dataSchema, identityPath) { _results = CachedValue.Create(dataSchema, MakeResults); }
public PrecursorResult(Precursor precursor, ResultFile file) : base(precursor, file) { _chromInfo = CachedValue.Create(DataSchema, () => GetResultFile().FindChromInfo(precursor.DocNode.Results)); }
public Replicate(SkylineDataSchema dataSchema, int replicateIndex) : base(dataSchema) { ReplicateIndex = replicateIndex; _chromatogramSet = CachedValue.Create(DataSchema, FindChromatogramSet); }
public Transition(SkylineDataSchema dataSchema, IdentityPath identityPath) : base(dataSchema, identityPath) { _precursor = new Lazy <Precursor>(() => new Precursor(DataSchema, IdentityPath.Parent)); _results = CachedValue.Create(DataSchema, MakeResults); }
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)); }