From 96e0b24f575dcbc7f136eaf102a49628f23bc688 Mon Sep 17 00:00:00 2001 From: Christian Panse Date: Tue, 15 Sep 2020 15:53:29 +0200 Subject: [PATCH] mark instrument data #2 --- man/validate_rawRspectrum.Rd | 17 +++++++++++++++++ src/rawR.cs | 3 ++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 man/validate_rawRspectrum.Rd diff --git a/man/validate_rawRspectrum.Rd b/man/validate_rawRspectrum.Rd new file mode 100644 index 0000000..3889122 --- /dev/null +++ b/man/validate_rawRspectrum.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/rawR.R +\name{validate_rawRspectrum} +\alias{validate_rawRspectrum} +\title{validate} +\usage{ +validate_rawRspectrum(x) +} +\arguments{ +\item{x}{} +} +\value{ +\code{rawRspectrum} object +} +\description{ +validate +} diff --git a/src/rawR.cs b/src/rawR.cs index 2e77410..f9f6395 100644 --- a/src/rawR.cs +++ b/src/rawR.cs @@ -1,5 +1,5 @@ /* - adapded from the ThermoFischer `Hello, world!` example provided by Jim Shofstahl + aGetTrailerExtraInformationdapded from the ThermoFischer `Hello, world!` example provided by Jim Shofstahl see URL http://planetorbitrap.com/rawfilereader#.WjkqIUtJmL4 the ThermoFisher library has to be manual downloaded and installed Please read the License document @@ -260,6 +260,7 @@ public static void WriteSpectrumAsRcode(this IRawDataPlus rawFile, string filena file.WriteLine("\tmZ = c(" + string.Join(",", scan.SegmentedScan.Positions) + "),"); file.WriteLine("\tintensity = c(" + string.Join(",", scan.SegmentedScan.Intensities) + ")"); } + // ============= Instrument Data ============= // write scan Trailer var trailerValues = scanTrailer.Values; var trailerLabels = scanTrailer.Labels;